Facepunch / sbox-hc1

39 stars 6 forks source link

Started Retakes and was stuck in spectator getting an NRE #189

Open CarsonKompon opened 1 month ago

CarsonKompon commented 1 month ago
[GameMenu] Exception when calling 'Update' on SpectateSystem on (Spectating)
System.NullReferenceException: Object reference not set to an instance of an object.
   at Facepunch.PlayerPawn.OnPossess() in PawnSystem/Player/PlayerController/PlayerPawn.Pawn.cs:line 26
   at Facepunch.Pawn.Possess(Pawn pawn) in PawnSystem/Pawn.cs:line 93
   at Facepunch.SpectateSystem.UpdateSpectate() in GameLoop/SpectateSystem.cs:line 34
   at Facepunch.SpectateSystem.OnUpdate() in GameLoop/SpectateSystem.cs:line 25
   at Sandbox.Component.ExceptionWrap(String name, Action a) in C:\build\_work\sbox\sbox\engine\Sandbox.Game\Scene\Components\Component.cs:line 338

Maybe because it was a 2v1 retake and i was the person on the team of 1? I was the team who would have started on a site already