Crash after splash screen - Android
For two weeks, I am trying to resolve my problem with Android packaging. My game works on Windows, but when i want to deploy it on Android it always crashes after splash screen with an error. It doesn't work on other Android devices too. But if I am deploying new project with starter content, it works well.
asked Oct 04 '18 at 01:09 PM in Packaging & Deployment
The log blames a segfault, a null pointer reference. Somewhere when the level is loading and the game instance is starting up you have a variable or a reference being used which points to nothing (memory address 0x0) which is not allowed. Maybe it isnt getting initialized properly. The fact that it works fine in PC is weird though so mayne you are using a library or plugin that was designed for PC but does not work on Android. A file I/O plugin perhaps, which does not first obtain file access permissions from Android OS? Or maybe which doesnt use the proper logic for initializing its objects to work with Android? I can only guess. It has been a long time since I did anything in C++ and never did anything on android in C++ or java.
answered Nov 22 '18 at 05:17 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here