mhjortM
Normal2y ago
23 replies
mhjort

Why the Realtime instantiated object is not always ready

I am trying to instantiate objects that have RigidBody and no custom Realtime components. If I have three objects usually at least one of them is missing the Model.

After Realtime.Instantiate call I try to call RequestOwnership but it fails with "Exception: This component doesn't have a model. Wait until the model is present before interacting with the ownership." error.

This does not happen everytime. Next time I launch the game the same object might work and then next time it doesn't. I have not found any pattern on this.
Was this page helpful?