[SCP079] SCP-079 can crash at round restart when switching cameras
Version: 13.5.1
Branch: Release (stable) branch
Timestamp: 2024/10/05 19:56:18
Server Name: SCP-Empire #2 (closed)
Description
Switching camera with SCP-079 just before the round restart leads to game crash.
Here is the spam in Player.log just before game crash :
Server has requested to kill all coroutines by triggering a fast round restart.
FastRestartInProgress set to: True
NullReferenceException: Object reference not set to an instance of an object.
at PlayerRoles.PlayableScps.Scp079.Cameras.Scp079DirectionalCameraSelector.get_IsReady () [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.UpdateGroup (System.Boolean isLeft) [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at PlayerRoles.PlayableScps.Scp079.Cameras.Scp079DirectionalCameraSelector.get_IsReady () [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.UpdateGroup (System.Boolean isLeft) [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at PlayerRoles.PlayableScps.Scp079.Cameras.Scp079DirectionalCameraSelector.get_IsReady () [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.UpdateGroup (System.Boolean isLeft) [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.Update () [0x00000] in <00000000000000000000000000000000>:0
NullReferenceException: Object reference not set to an instance of an object.
at PlayerRoles.PlayableScps.Scp079.Cameras.Scp079DirectionalCameraSelector.get_IsReady () [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.UpdateGroup (System.Boolean isLeft) [0x00000] in <00000000000000000000000000000000>:0
at PlayerRoles.PlayableScps.Scp079.GUI.Scp079AbilityList.Update () [0x00000] in <00000000000000000000000000000000>:0
Steps to reproduce
-
Wait for the round to end
-
Open your map
-
Put your mouse on a room in another zone
-
Click to change cam when screen is totally black (the timing can be very tricky)
What is supposed to happen
Round restart without client crash
What actually happens
Round restart but 079 client crash