1. The UE4 packaging project reports an error AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure), and the direct packaging official template project also reports an error.
Open Log.txtk to see detailed error reports
It is a problem of access permissions. Change the permissions of the Users folder of...\UE_4.27\Engine\Programs folder to full control. The problem is solved (^-^)V
2.UE4 packaging project prompts that the UE4Game binary file is missing
First exit the project, find the .uproject file of the project, right-click and select Generate Visual Studio project files, then open the project after completion
Find Project Settings → Project → Packaging → Blueprint → Blueprint Nativeization Method, select General, and now you can successfully package the project O(∩_∩)O
3. There is no sound but only the picture after running the UE4 media player
Try the following methods to solve the problem
① Check whether the media sound effect component is added to the blueprint class
②Find WMF media in the project settings→Debug→Check native audio output
Checking the low latency and hardware accelerated video decoding options here can reduce video stuttering
③Find AVF media in the project settings→Debug→Check native audio output