PhotonPoller exception
Options
JeremyS
✭
in Photon Bolt
Any reason why I would get an exception in PhotonPoller when my client connects to my server? It happens on both the client and server, but only as the connection is made. This happens in the advanced tutorial as well as my own project I am trying to get Bolt working in.
0
Comments
-
NullReferenceException: Object reference not set to an instance of an object udpkit.platform.photon.PhotonPoller.Connected () Bolt.photon.PhotonCloudGlobalBehavior+PhotonBoltBehavior.Connected (.BoltConnection connection) BoltInternal.GlobalEventListenerBase.ConnectedInvoke (.BoltConnection connection) UnityEngine.Debug:LogException(Exception) BoltLog:Exception(Exception) BoltInternal.GlobalEventListenerBase:ConnectedInvoke(BoltConnection) BoltCore:Udp_Connected(UdpConnection) BoltCore:PollNetwork() BoltCore:Poll() BoltPoll:FixedUpdate()
0 -
This is probably unrelated, but
https://imgur.com/a/ExWwEvi
Notice how no script name doesn't show for the Photon Cloud Global Behavior.
That happened to one of my scripts before when the class name didn't match the file name. Probably not related to the exception, but just fyi.
0 -
Any update on this? I am getting a similar error
NullReferenceException: Object reference not set to an instance of an object
udpkit.platform.photon.PhotonPoller.Update ()0 -
Could you please share more details (Unity version, Bolt version, any local changes, when does it happen - after which call, ...)? Or better - a small Unity project so we can reproduce it.0
-
Nevermind, seems fixed.0