Scene Graph: very long time to load entity in simulation when spawning and .IsInSimulation[] problem

Summary

If we spawn a prefab of a large entity, say a dungeon (1000-1500 entities), we get a rather long replay on the client: 5-15 seconds of loading. And we have no way to check if the prefab was really loaded or not: :component.InInScene[] and :component.InSimulating[] say at once that the entity is simulated.

This creates a flow problem, as we don’t know when to remove the “loading curtain” from the player and give them back control of the game. We literally have to blindly put a random Sleep(10-20) and hope that the entity has been loaded.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

  1. Create a large prefab. My prefab has about 1000-1500 entities with simple meshes.
  2. Instantiate it through code and add it to SimulationEntity
  3. Get the delay

Expected Result

Ability to ACTUALLY check if a prefab has been added

Observed Result

There’s no way to check

Platform(s)

windows

FORT-919848 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.

I aint used sg yet but if this is how it works then thats not good cnt be having black screens/lag everytime you wanna spawn a big prop