- Home /
Android Loading scene / loading assets problem
Hi, i finished my Android 2D game like 5 days ago and in Editor everything works fine, but when i exported game on device it crashes every time in while loading next scene from loading scene. I have about 100 scenes 1 with endless runner and 1 loading scene before endless runner and rest are levels to beat. I have Application.loadlevelasync in the loading scene and then game crashes. Earlier i just had loading scene normally endless after loading scene and game was crushing just right there. Game also crashes while loading every other level scene. So i thought it might be loading too big assets at once(sry for my english). So i deleted avary audio files bigger than 1 mb in original size, i changed all my sprites (UI and normal) to be lower than 10 mb in unity editer(originally they had 100-200 kb now less than 100 kb), but i left my heroes u can play to have more than 10 mb in unity(some have even 16mb). Im not familiar with graphic design and that stuff im rather programmer and i managed to make game by myself. Right now i have no clue what to do. Do you think that after changing my heroes size to be like about 5 mb after importing them to unity editor problem may be solved? Or there might be like to much in lines in Awake method or too much public variables???
Answer by mhhk88 · Jul 27, 2016 at 12:12 AM
Well,, my app using lots of images crashed when loading scenes (on iPhone5). I changed big images smaller and got Quality Levels down to Fastest. After that, it worked, but It doesn't look good on iPad though. Like you said, it'd be better to use small images. But I think 10mb character will be fine. The size of total images in a scene matters. BTW, did you put all scenes on Scenes in Build box?
Ty for answer :) yes i have almost 100 scenes added and checked in build menu. Im facing this issue all the time and im making all assets to be smaller than 10 mb in editor i hope that will help, if it will work ill write it here. I forgot About that in editor loading next scene usually take like few secs, thats why i have app. Load level async
Your answer
Follow this Question
Related Questions
optimizing load scene 0 Answers
Optimisation: fewer draw calls or smaller draws? 1 Answer
How to reduce Mixamo animation size? 0 Answers
Unity large level size in build 0 Answers
Crashes when Loading Scene 0 Answers