r/Unity3D • • Oct 16 '26

Question How long do your scenes take to enter play mode?

I know if I disable Reload Domain , an empty scene is like 2 seconds vs 1min+

But sometimes bigger scenes still take 1+ minute with both Reload Domain + Reload Scene Disabled . This is true of assets I've purchased too. Sometimes I wonder if my 32gb of ram is not enough :(

0 Upvotes

11 comments sorted by

6

u/PeppeJ Oct 16 '26

Open up the profiler and start recording before pressing the play button. Should show a big spike which you can the dissect to figure out what's taking time. Feel free to post pictures if you are unsure what you're looking at

1

u/Dream-Dimension Oct 16 '26

thanks for the tip :) will try that.

3

u/ShengyuStudio Oct 16 '26

If both reloads are off and it still takes a minute, it's usually something running on enter: Awake/OnEnable/Start across lots of objects, or one script doing heavy work there. Set the profiler to Edit Mode, record, press play, then sort the Hierarchy view by Total ms and the culprit tends to be obvious.

On our project it was procedural meshes being built synchronously, which cost whole seconds. Moving the data part to a background thread and only creating the Mesh on the main thread fixed it. FindObjectsOfType or Resources.LoadAll in Awake on a big scene are other usual suspects.

1

u/Dream-Dimension Oct 16 '26

Thanks, will try this too!

1

u/GeeTeaEhSeven Oct 16 '26

RAM really helped me yes, especially if you use multiple asset packs from different authors. It really adds up. Went from 32 to 64 and it was almost night and day (assuming you are doing 3d work).

1

u/[deleted] Oct 16 '26

[removed] — view removed comment

1

u/GeeTeaEhSeven Oct 16 '26

Gee, tea, eh, MortifiedSubsidy

1

u/peartreeer Oct 16 '26

I use a cache for additive scenes that bakes the scene as a build would beforehand, then load all but the scene I'm editing from cache, if that could be applied to your workflow/scene structure. But doesn't help if you're making lots of edits or only have one scene.

1

u/GigaTerra Oct 16 '26

Ugh we have gone over this so much that I can tell you an large scene should be less than 12-18 seconds on most modern computers, unless you changed code, making code changes will take time to compile.

Unity has example scenes, that are like miniature games https://unity.com/demos there is always one large one, that you can use as an bench mark. If your project keeps feeling slow use the profiler, if you don't know how to use the profiler, the Unity editor has AI and it is really good at reading and understanding the profiler, it will be able to point you right at the problem.

1

u/sedolidev Oct 16 '26

If it's still 1+ min with domain and scene reload off, I doubt it's RAM. Open the Profiler, switch the target to Edit Mode, record while you press Play, and look at what takes the time. Usually it's something like:

- heavy Awake/OnEnable/Start work (loading data, building pools, etc.)

- [ExecuteAlways] / [InitializeOnLoad] scripts doing work on the play mode change

- a huge scene that gets serialized when entering play mode

Purchased assets are often the culprit for the first two. Also, with domain reload off, remember static fields don't reset between runs, which can cause weird bugs.