I've spent the whole day trying to figure out why my multiplayer setup suddenly stopped working. I have a very similar setup to the demo and at first it was working as expected, but now after some seemingly unrelated changes as soon as I connect the second client to the room I get an error in PunLookSource and the whole game breaks (first screenshot). I tried to add a check for stream.IsWriting but it started throwing another error (Index out of range) on the master client (second screenshot). Also in rare cases (about 1 in 10 chance) when I connect the second client to the room everything works as it should and this makes it even harder to understand whats going on. I am thinking maybe some network related execution order inconsistency? Any ideas?



