I am doing a multiplayer game, and when a peer is kicked, he is sent to the first layout.
Currently I get this uncaught exception on Chrome, right after the kick/leave. It causes the load of the first layout to halt, and the screen shows parts of the two layouts and remains in this state.
Uncaught (in promise) TypeError: Cannot read property 'Update' of null
at WorldInfo._RemoveFromRenderCells (worldInfo.js:53)
at C3Runtime._FlushInstancesPendingDestroyForObjectClass (runtime.js:56)
at C3Runtime._FlushInstancesPendingDestroy (runtime.js:55)
at C3Runtime.FlushPendingInstances (runtime.js:54)
at C3Runtime._DoChangeLayout (runtime.js:76)
at async C3Runtime._MaybeChangeLayout (runtime.js:73)
at async C3Runtime.Tick (runtime.js:66)
I cannot share the project (sorry..), but I noticed in the debugger that the synced objects has 0 instances in this state.
Maybe if I can trace the source of this error, I can find more details about the root of this problem.