Hello! I really need your help. In my game, I use proxy collection as levels.
In one level, I load another collection via collection factory.
Everything works until I build a Release bundle – in that case, the collection simply doesn’t open, nothing happens. But if I build a Debug bundle – everything works.
Below are my settings. This doesn’t depend on the platform; I’ve tried mac, win, html.
Do you use is_debug field from sys.get_engine_info() somewhere in your project? If so double check for any possible errors, thrown by that code. I had an issue similar to yours and the thing was I had buggy code that was running only when is_debug was true.
Is message.name a hash? If that is the case then it explains why nothing works. You should NOT rely on hash to string conversion in any game logic, and especially not when using the result of a string concatenation.
As britzl mentions, it seems likely you are doing a “hash to string” conversion somewhere in your code.
It may not be directly collection loading related, but some code that runs (and fails) before the collection loading. It may mean you might not actually get to the point where the loading happens.