Unity: Photon NullReferenceException: Object reference not set to an instance of an object

384 Views Asked by At

I'm new with Unity and Photon. I'm developing a game for my school assignment. When I run my game 2 times at the same time. I got this errors. One of players' objects references are none. First one is matching but second one is not matching and That's why I can not run 2 different game at the same time. Could you explain how can I fix this error ? I've some pictures about errors and Inspectors. I'm instantiating my player OnJoinedRoom method.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here`

0

There are 0 best solutions below