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.
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 maybe 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 doesn’t 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.