cryptomax
cryptomax6mo ago

Control instantiation rate on connection?

So if you have 30-50 rigibodies when connecting to a room there is a pretty heavy duty hiccup. A way to stagger that instantiation burst that was built in would be pretty nice.
3 Replies
Mechabit
Mechabit6mo ago
maybe you can try the IRealtimePrefabLoadDelegate to preload the assets
cryptomax
cryptomaxOP6mo ago
yeah I havent' set them all up as addressable yet, I dont know if it would be enough to help at that kind of quantity or not
Mechabit
Mechabit6mo ago
you could use that without addressables just instantiate them as normal but deactivated and when the delegate says it needs a prefab you send it one of the pooled objects you created if you need 20 rigidbodies just create them ahead of time but pooled