I have a top down game im making, Which works flawlessly on Windows. On android the graphics arent as nice and the frame rate is a bit slower, but its been working for months. I dont know what was changed but suddenly the game seems to crash after about 30 seconds to a minute of playing it. It only crashes if youre interacting with it so its not a specifically timed thing, and the frame rate even seems to be working nicely. But the game just freezes and crashes on a packaged version or launching in the editor. And launching in the editor the output log doesnt display any errors. Does Unreal or Android Studio have any built in tools I can use to decipher why exactly this is happening in my game? Or does anybody have any advice for the process they use?
It sounds like you’ve introduced a memory leak. You can debug your app using Android Studio with this guide: Android Debugging | Unreal Engine Documentation. Try setting it up and running your game until it crashes, check the logcat tab to see what causes the crash. If it seems to be related to running out of memory you should look closer into memory profiling your application.
Extremely helpful thanks! ill check it out
it turns out, i dont think its a memory leak, i was able to follow RSPontus’s answer above and from android studio im getting this error Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb19e4f68 in tid 14613 (RHIThread), pid 14516 (main) I ahve no idea how to fix it but ill start a new thread since i guess the original question is now answered