NullReferenceException in PhotonNetworkPart.cs

Options
I started getting this error quite often when connecting to the master-client.



How can I fix it?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @develax,

    What PUN2 version are you using?

    Could you update to 2.15 (latest) as it fixes the NullReferenceException as you can see in the version history?

    v2.15 (19. September 2019)
    Fixed: NullReferenceException when trying to log an error for a received RPC with a non existing method and zero arguments.
  • develax
    Options
    Hi @JohnTube, thanks! It was exactly this type of error.