Is scene loading time related to the scene file size?

I’m having an issue with a scene taking too long to load.

I managed to cut the scene file itself almost in half which didn’t seem to make any difference to the scene load time.

So naturally, I’m quite confused about what to do to get it to load faster.

When I deleted some prefabs containing complex meshes the scene file only went down in size about 1% so I left the prefabs in.

Is the scene file size related to the scene load time at all?

It’ll be related, sure, but it’s just one stage in the pipeline. Unity isn’t just reading that data into a big blob of memory and calling it a day; it’s parsing all of that data and constructing all of the runtime objects.

It sounds like scene size is not your bottleneck right now.

1 Like