Only one scene not loading

Hello,

I have an app that has different scenes and all are loading except for one but only when installed on the device. When I run this in the windows simulator I can load any scene including the one that won’t run on the device and works fine. When I compile and install on my android this one scene does not load. The app locks up. It is a small mini game scene that will not load. Has anyone seen this before? I know you will ask to see the code but just wondering if anyone has had this happen before anyways. I am using 2013.1133 version.

Thanks,

Warren

I found the problem. I am loading an mp3 file as the music background when the scene loads. I commented out the lines and the game scene loads. The mp3 is 2mb in size. Is that too large? Any way I can make it smaller or should I find another music file that is smaller? What size should it be?

Thanks,

Warren

What errors are happening in your device’s console log?  Use “adb logcat” it look at it.  Don’t have the ADB tools installed?  Do so.  No one can diagnose these problems without that basic information. 

That said 9 times out of 10 if “it works in the sim but not on the device” you have a file name problem where the case of the letters doesn’t match.  The simulator, windows and Mac are not case-sensitive.  Devices are.

2mb is tiny.  20mb is okay.  200mb is quite large.

I found the problem. I am loading an mp3 file as the music background when the scene loads. I commented out the lines and the game scene loads. The mp3 is 2mb in size. Is that too large? Any way I can make it smaller or should I find another music file that is smaller? What size should it be?

Thanks,

Warren

What errors are happening in your device’s console log?  Use “adb logcat” it look at it.  Don’t have the ADB tools installed?  Do so.  No one can diagnose these problems without that basic information. 

That said 9 times out of 10 if “it works in the sim but not on the device” you have a file name problem where the case of the letters doesn’t match.  The simulator, windows and Mac are not case-sensitive.  Devices are.

2mb is tiny.  20mb is okay.  200mb is quite large.