Memory issues in iOS app in Unity3d at transition between scenes (made with Application.LoadLevel) -
i developing app ios in unity3d. have memory issues ios app. there 3 large peaks. each peak 50 mb's. first occurs when app launches. app presents simple main menu scene (it consist of background texture , 3 or 4 gui.buttons) second occurs when user taps start button in main menu. third occurs when users leaves game scene.
transition between scenes made application.loadlevel.
before each transition call resources.unloadunusedassets() , system.gc.collect();
app crashes ( after memory warnings) on old devices (ipad 1 , iphone 3gs) on transitions.
how should debug crashes? why memory consumption ontransition between scenes high? how can reduce memory consumption in situations?
why don't try using.
application.loadleveladditive ("actualscenewhereuwanttogo");
please let know improvements.
Comments
Post a Comment