#Initialization System Group Taking A Lot Of Time
1 messages · Page 1 of 1 (latest)
it's rebaking your scene to account for the singleton change, I assume there are a bunch of objects in it?
(at least I see some Conversion.Convert and BakeScene calls)
does it rebake for all entities spawned at runtime?
but if i change the singleton component via system, that rebaking doesn't happen
If you change the values on your Terrain Loader Authoring component, then of course it will trigger a rebaking.
Authoring does not equal to entities though.
Authoring is just a tool that lets you specialize the runtime entities.
Because system operates on pure entities, not on the Authoring component.
When you enter play mode, the subscene entities will be loaded into the ECS world's entity database. Systems will operate on this database. When you exit play mode, this database will be destroyed along with the ECS world.
In play mode, your subscene is fully baked. The authoring component doesn't exist anymore.
it rebakes the subscene you changed