Since upgrading to UE4.16, I can’t run the game on my android device unless I launch it on the mobile directly from the editor.
The game launches fine if done straight from the editor, and the game also packages ok without any errors.
However, if I try and launch it after closing the game from playing from the editor, or I try and push a build across from a full package, the game crashes on launch.
There are no errors or warnings on the log from the phone or the editor, it’s just a crash. I’ve updated android works and done everything else to make sure the game is up to date.
This could be related to a bug report that I put in yesterday: UE-45526. If so, please try enabling the Gear VR plugin if it is disabled. This is set to be fixed in 4.16.1 but this should be a suitable workaround in the meantime.
Edit: If enabling the plugin doesn’t help immediately, I would suggest deleting your Saved and Intermediates folders prior to attempting to package again (If you’re in a code project, you’ll also need to Generate Project Files after doing so to regenerate these folders, otherwise it’ll be done when packaging)
I’ve tried enabling the plugin, deleting both folders and doing both a push to mobile and full re-cook and deploy, and both times I have the same issue. It runs fine if launching on the mobile from the editor, but any other way just causes it to crash.
I’ve attached another log in case anything changed this time.
Hi, I’ve got this crash in my log:
ProcessResult.StdOut: --------- beginning of crash
CommandUtils.Run: Took 0,1212054s to run adb.exe, ExitCode=0
InternalUtils.SafeFileExists: SafeFileExists C:\android-sdk-windows\platform-tools\adb.exe=True
CommandUtils.Run: Running: C:\android-sdk-windows\platform-tools\adb.exe -s e83dda98 logcat -d
CommandUtils.Run: Took 0,1180753s to run adb.exe, ExitCode=0