switching scenes take a long time
It took more than a minute to switch scenes, and it was mainly stuck in the "BatchDeleteObjects" function. google it but got nothing. Can anyone explain what is the reason and how to solve ?
here is my profile and log
UnloadTime: 64.233417 ms System memory in use before: 130.1 MB. System memory in use after: 114.6 MB. Unloading 4941 unused Assets to reduce memory usage. Loaded Objects now: 3144. Total: 48054.032333 ms (FindLiveObjects: 0.888667 ms CreateObjectMapping: 0.441625 ms MarkObjects: 8.455292 ms DeleteObjects: 48044.245542 ms)
Your answer
Follow this Question
Related Questions
How to change transform.position after loadScene? 2 Answers
Order of SceneManager.LoadSceneAsync and UnloadSceneAsync. 0 Answers
SceneManager.sceneLoaded returns scene.isLoaded as false, is this intended? 1 Answer
Loading new scene in unity 2D 0 Answers
SceneManager not finding scene at buildIndex, even though there is one. 6 Answers