I have packaged my android game on both UE5.1 and UE5.2 and am still getting the same error. Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x20 in tid 22803 (GameThread), pid 22746 (main)
I have used SDK 32 and 30 and it still has the same issue. After it crashes the first time I can reopen the game, but anytime I try to load into a level it instantly crashes. I found that if I delete the game data on the phone through the storage app then it allows me to run it again for a few minutes before it’ll crash again. I’m using a Pixel 7 Pro to test it and when packaging I get no errors. I’m using all the recommended installs with command line build tools and all of that in Android Studio. How do I fix this? The game works great on Windows, just not on Android.
This makes me think it has to do with saving, but saving the game works fine until it crashes. I don’t know if Android is causing the problem, or Unreal. I’ve tried USB debugging, but it only really says that one error and doesn’t give me much else.
I set gc.MultithreadedDestruction to disabled and I was able to play for much longer before it crashed.
I also found on the main menu it lets me use it without crashing, but since I spawn my character in instead of having it pre placed like I do in the main menu it crashes in levels, but not menu. After a few minutes of playing the game in levels.