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???
↧