Random Disconnect on Android Devices.

Options
Hello,

I'm running photon for an app on my Android device, and at random intervals (I've tested this extensively and cannot find any commonality with it's cause) and I will entirely disconnect from the photon server.

Using logcat I have managed to get this log out:
Disconected from server - sent me to the default room: (Filename: ./Runtime/Export/Debug.bindings.h Line: 45) 2020-11-27 09:12:52.499 26304-26339/? E/Unity: NullReferenceException: Object reference not set to an instance of an object. at Photon.Pun.PhotonNetwork.LocalCleanupAnythingInstantiated (System.Boolean destroyInstantiatedGameObjects) [0x00000] in <00000000000000000000000000000000>:0 at System.Action`2[T1,T2].Invoke (T1 arg1, T2 arg2) [0x00000] in <00000000000000000000000000000000>:0 at ExitGames.Client.Photon.TPeer.DispatchIncomingCommands () [0x00000] in <00000000000000000000000000000000>:0 at ExitGames.Client.Photon.PhotonPeer.DispatchIncomingCommands () [0x00000] in <00000000000000000000000000000000>:0 at Photon.Pun.PhotonHandler.Dispatch () [0x00000] in <00000000000000000000000000000000>:0 (Filename: currently not available on il2cpp Line: -1) 2020-11-27 09:12:52.502 26304-26339/? E/Unity: DISCONNECTED ServerTimeout

I cannot make heads or tails of it's cause. I can see there is a null reference in the LocalCleanupAnythingInstantiated but I can't fix it.

Any advice?

Comments