Does Unity only load objects that are active? Does Unity pre-load prefabs that are referenced in scripts attached to active objects? I couldn’t find the answer to this in the documentation.
I’m asking this because I’m making a game with a hub world where the levels are instanced as prefabs. I’m not putting the different levels on different scenes because I don’t want the player to wait for a loading screen upon death, and because I find it easier to do it all in one scene. I don’t see any stuttering or abnormally high ram utilization on my end (my assets are pretty light), but I’m afraid that this method will cause weaker hardware to perform badly. Anyway, I want to know if I’ll have to manually load the levels into memory before instantiating them, or if Unity already does this management in the background.
Sorry if this is a dumb question, and thanks in advance!