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

Options

Hello everyone, 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.


Answers

  • Tobias
    Options

    A Nullreference Exception is usually something you have to fix locally and where nobody can really help you because they lack the project.

    If a reference is not set up properly, check where it should happen and try to figure out why it's not being set.