[BUG] Game doesn't start on release package (SOLVED)

Hi, good afternoon~~

I am having an issue with Defold, the game does not start when its packaged as RELEASE, all i get is a black screen and no response;
The bug happens ONLY on release mode, debug package works fine~~
I have tested this only on Windows and Android builds, but the behavior of the application is the same (same code, same bug);

I am on version 1.2.98;

Tested on Windows 7, Windows 10, Android 4.4 and Android 6.0;

Any ideas of what it could be?

Do you have any code that does string operations on hashed names (ids)?

2 Likes

Actually yes!
You sir, deserve a cookie~~
I remade the whole screen/level loaders and now its working perfectly!
its just really weird how you can convert hashes to strings in the debug package but not in the release version, I thought they would behave the same way~
Well, thank you very much!

Great you got it working!

Hashes are just numbers and the only reason that you can get the original string representation in debug mode is to be able to see where they originated from when debugging.

@jakob.pogulis wrote a more extensive explanation here: