Slow Scene Load?

New to Unity and scripting, so need help on a problem that is new to me.

I have a game with several levels. Right now they all load almost instantly, except for one scene. But it’s weird because it’s the smallest with the least amount of content and processing. But this scene takes about a minute to load - it’s definitely something broken.

What are some good methods for checking why a slow scene load might take place?

Hi @jleven22 ,

You can open the Unity Profiler window in order to analyze what’s happening at the moment that your scene is being loaded.

You can find more information about it here: Unity - Manual: Profiler overview

Good luck with it!

2 Likes

Ok, I gave this a shot, but I’m not certain what I’m looking at.


I’m assuming this has to do with the content of the next scene, but honestly I gave it a search and cannot figure it out. It has the least amount of content, doesn’t have any complex start functions…

So is there a way to dig into the reasons for the preloading issues in the profiler? Like can it point me to specifically what the issue is?

While using the Profiler, are you noticing a peak or an increase of activity (CPU Usage block, the first one on your screen capture) just at the moment where you’re experiencing the slow scene loading?

Turns out it was a bug that has been fixed! I’m so grateful, that’s the only time I’ve ever had this quick a resolution lol.

More info here:
https://issuetracker.unity3d.com/issues/performance-regression-editoronly-prefabs-dot-mergeprefabs-process-noticeably-slower-when-opening-a-scene

4 Likes

This problem is still happening on the version 2020.3.11f1. Somebody knows if they will fix it soon?

I found what caused my problem. In case someone finds in a similar situation, loading a scene in async mode, I recommend to enable Texture Streaming. Probably the issue is because Unity is trying to load all the same prefabs without the textures being loaded, so it takes a long time.

I hope this helps.

same problem here and please tell me have you find any solution

Hi guys for me the same issue is happening scene takes more time to load and also it takes more than 16mins to load game mode in our game only one levels takes more time to load have no idea why it is profiler and console seems clean and no issue with that we using unity 2021.3.21f1 lts version can someone please assist regarding this issue?

I am having the same issue in 2022.3.5f. Loading a scene can take as long as 8 minutes for me. No bueno!

Were you able to solve the problem?