Hi all
I’m writing because i came across a strange behaviour when loading resources in a runtime compiled in release mode using xcode.
I was getting blackscreens (but everything worked fine in debug mode) and i found out it was because i was loading some resources and misspeling capital letters. For example loading the resource “Title.png” using the code cc.Sprite:create( “title.png” ) will work when the runtime is compiled in debug mode but i’ll get a black screen when the runtime is compiled in release mode (notice the capital ‘T’). I don’t get any error message, just a black screen.
This happens when i compile for Mac and for iOS
Is this normal?
It would be nice to have consistent behaviour on both release and debug mode, and even better yet, an error message.
Thanks!!