Closed tedens closed 1 year ago
I specifically selected various types of hatches.
NullReferenceException
MultiplayerMod.Multiplayer.Objects.ComponentReferenceExtensions.GetReference (KMonoBehaviour component) (at :0) MultiplayerMod.Game.Mechanics.Objects.ObjectEvents+<>c__DisplayClass5_0.b0 () (at :0) MultiplayerMod.Core.Patch.PatchControl.RunIfEnabled (System.Action action) (at :0) MultiplayerMod.Game.Mechanics.Objects.ObjectEvents.ObjectEventsPostfix (KMonoBehaviour instance, System.Reflection.MethodBase originalMethod, System.Object[] args) (at :0) (wrapper dynamic-method) FixedCapturePoint+Instance.FixedCapturePoint+Instance.ICheckboxControl.SetCheckboxValue_Patch1(FixedCapturePoint/Instance,bool) SingleCheckboxSideScreen.OnValueChanged (System.Boolean value) (at :0) Util.Signal[T] (System.Action`1[T] action, T parameter) (at <0f4b778ef79c497e89f6ee18303840cf>:0) KToggle.OnValueChanged (System.Boolean value) (at <0f4b778ef79c497e89f6ee18303840cf>:0) KToggle.set_isOn (System.Boolean value) (at <0f4b778ef79c497e89f6ee18303840cf>:0) SingleCheckboxSideScreen.SetTarget (UnityEngine.GameObject target) (at :0) DetailsScreen.Refresh (UnityEngine.GameObject go) (at :0) RootMenu.Refresh () (at :0) RootMenu.OnSelectObject (System.Object data) (at :0) EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) (at <0f4b778ef79c497e89f6ee18303840cf>:0) KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) (at <0f4b778ef79c497e89f6ee18303840cf>:0) SelectTool.Select (KSelectable new_selected, System.Boolean skipSound) (at :0) SelectTool.OnLeftClickDown (UnityEngine.Vector3 cursor_pos) (at :0) PlayerController.OnKeyDown (KButtonEvent e) (at :0) KInputHandler.HandleKeyDown (KButtonEvent e) (at <0f4b778ef79c497e89f6ee18303840cf>:0) KInputHandler.HandleKeyDown (KButtonEvent e) (at <0f4b778ef79c497e89f6ee18303840cf>:0) KInputHandler.HandleEvent (KInputEvent e) (at <0f4b778ef79c497e89f6ee18303840cf>:0) KInputController.Dispatch () (at <0f4b778ef79c497e89f6ee18303840cf>:0) KInputManager.Dispatch () (at <0f4b778ef79c497e89f6ee18303840cf>:0) KInputManager.Update () (at <0f4b778ef79c497e89f6ee18303840cf>:0) GameInputManager.Update () (at <0f4b778ef79c497e89f6ee18303840cf>:0) Global.Update () (at :0)
Build: U47-562984-V
Thanks for the finding! Fix is merged and will be released in the next update.
I specifically selected various types of hatches.
NullReferenceException
MultiplayerMod.Multiplayer.Objects.ComponentReferenceExtensions.GetReference (KMonoBehaviour component) (at:0)
MultiplayerMod.Game.Mechanics.Objects.ObjectEvents+<>c__DisplayClass5_0.b0 () (at :0)
MultiplayerMod.Core.Patch.PatchControl.RunIfEnabled (System.Action action) (at :0)
MultiplayerMod.Game.Mechanics.Objects.ObjectEvents.ObjectEventsPostfix (KMonoBehaviour instance, System.Reflection.MethodBase originalMethod, System.Object[] args) (at :0)
(wrapper dynamic-method) FixedCapturePoint+Instance.FixedCapturePoint+Instance.ICheckboxControl.SetCheckboxValue_Patch1(FixedCapturePoint/Instance,bool)
SingleCheckboxSideScreen.OnValueChanged (System.Boolean value) (at :0)
Util.Signal[T] (System.Action`1[T] action, T parameter) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KToggle.OnValueChanged (System.Boolean value) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KToggle.set_isOn (System.Boolean value) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
SingleCheckboxSideScreen.SetTarget (UnityEngine.GameObject target) (at :0)
DetailsScreen.Refresh (UnityEngine.GameObject go) (at :0)
RootMenu.Refresh () (at :0)
RootMenu.OnSelectObject (System.Object data) (at :0)
EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
SelectTool.Select (KSelectable new_selected, System.Boolean skipSound) (at :0)
SelectTool.OnLeftClickDown (UnityEngine.Vector3 cursor_pos) (at :0)
PlayerController.OnKeyDown (KButtonEvent e) (at :0)
KInputHandler.HandleKeyDown (KButtonEvent e) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KInputHandler.HandleKeyDown (KButtonEvent e) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KInputHandler.HandleEvent (KInputEvent e) (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KInputController.Dispatch () (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KInputManager.Dispatch () (at <0f4b778ef79c497e89f6ee18303840cf>:0)
KInputManager.Update () (at <0f4b778ef79c497e89f6ee18303840cf>:0)
GameInputManager.Update () (at <0f4b778ef79c497e89f6ee18303840cf>:0)
Global.Update () (at :0)
Build: U47-562984-V