Make OnModelReplaced fire after connecting to a room
This has caught me twice and it might be intended behaviour but it feels like a bug.
When I want to store room time in a model when isFreshModel is true for a scene view I have to make a coroutine wait for room != null and then I forget the next project I start cos it's counterintuitive.
If room is supposed to be not null when OnModelReplaced is fired then this is a bug report 🙂
2 Replies
I'll look into it đź‘Ť
this is somewhat intentional fwiw. if you’re the first client to join a room, we just put the scene view models into that room’s datastore so that way state doesn’t reset or blip when you connect