Crashing game after launching a new scene - Receiving failed. SocketException: ConnectionReset

Hello !

When I launch a new scene, randomly a part of my players have their game crashing. Unity freeze and no longer respond. While the previous scene all players see each other and can interact.

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
TCP < 49 OK
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Receiving failed. SocketException: ConnectionReset
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
TPeer.Disconnect()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
SocketTcp.Disconnect()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
SocketTcp.Disconnect()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
NullReferenceException: Object reference not set to an instance of an object
  at Valve.VR.InteractionSystem.TeleportArc.Update () [0x00006] in <400486d30a134152956d733e64681e5a>:0 
 
(Filename: <400486d30a134152956d733e64681e5a> Line: 0)
Unloading 95 unused Assets to reduce memory usage. Loaded Objects now: 6745.
Total: 6.995400 ms (FindLiveObjects: 0.558100 ms CreateObjectMapping: 0.272300 ms MarkObjects: 5.821800 ms  DeleteObjects: 0.342900 ms)

NullReferenceException: Object reference not set to an instance of an object
  at Valve.VR.InteractionSystem.TeleportArc.Update () [0x00006] in <400486d30a134152956d733e64681e5a>:0


Here is what the master and other player has:
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
TCP < 58
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
TCP < 51 OK
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
OpSetPropertiesOfRoom()
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 4.712300 ms
Loading Scene: Subway /// Number of players : 2
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
TCP < 58
 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
TCP < 51 OK

Comments

  • Can someone help me ? I still have this error, maybe it's a crash from steamVr but I don't know

    I other previous version I have this message
    Receiving failed. SocketException: TimedOut
    
  • You use Unity? Which Photon package do you use? Have you updated to the latest?
  • kylsar
    kylsar
    edited March 2020
    Pun 2.16 and Unity 2019.2.17f1
    Recently I get less crash when I directly launch my third scene rather than the second. The first one is dedicated to the lobby in the purpose of choosing the room to connect.