Search Unity

Third Party photonview error

Discussion in 'Multiplayer' started by yyy898, Apr 23, 2020.

  1. yyy898

    yyy898

    Joined:
    Apr 23, 2020
    Posts:
    2
    i get an "Object reference not set to an instance of an object" error when i join my photon room multiple times.
    this is the error in my debug.log
    upload_2020-4-23_21-27-2.png

    while it has been assigned to a photon transform view component
    upload_2020-4-23_21-27-52.png

    when i play my game, everything is fine, no errors, when i join in with a second player i start getting this errors.
     
  2. yyy898

    yyy898

    Joined:
    Apr 23, 2020
    Posts:
    2
    anybody ? i realy need this sorted and im out of ideas
     
  3. tobiass

    tobiass

    Joined:
    Apr 7, 2009
    Posts:
    3,068
    Hard to guess.
    Check if the references in a prefab point to components of the same prefab. Meaning e.g. in the screenshot above, make sure the PhotonTransformView is the one dropped into the "Observed Components" above.
    The shot above is from a scene object. I hope you're not Instantiating this?