redhat-gamedev / srt-godot-client

Space Rings Thing Game Client (for Red Hat Gaming)
Apache License 2.0
7 stars 5 forks source link

try again button potentially causes crashes #64

Open thoraxe opened 1 year ago

thoraxe commented 1 year ago

Error logs from a client:

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Game.updateGameRadar () [0x00092] in <5060264aaadf45caa6dcaabfaf3d2419>:0
  at Game._Process (System.Single delta) [0x00188] in <5060264aaadf45caa6dcaabfaf3d2419>:0

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Game.updateGameRadar () [0x00092] in <5060264aaadf45caa6dcaabfaf3d2419>:0
  at Game._Process (System.Single delta) [0x00188] in <5060264aaadf45caa6dcaabfaf3d2419>:0
                                                                                                                                                                                                                                                                                           ✗

  24/03/2023   11:12.49   /drives/d/srt-client-windows  ./srt.exe
[11:13:17 INF] Space Ring Things (SRT) Game Client v???

It's possible that after the player is destroyed that we need to "cancel" radar and some other things while we're waiting for the client to re-join.