Jump to content

Clicking on planters with wheezewort in them causes crash


Schwing
  • Branch: Preview Branch Version: Windows Fixed

Planters with other stuff in them do not cause a crash when clicked on. Closed to desktop and went in 3 times, each time same result. Below is crash report.


Steps to Reproduce

The Hip Homestead Cycle 89.sav

 

Log File on crash:

NullReferenceException: Object reference not set to an instance of an object

PlanterSideScreen.RestoreSelectionFromOccupant () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ui/SideScreens/PlanterSideScreen.cs:476)
ReceptacleSideScreen.Initialize (SingleEntityReceptacle target) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ui/SideScreens/ReceptacleSideScreen.cs:152)
ReceptacleSideScreen.SetTarget (UnityEngine.GameObject target) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ui/SideScreens/ReceptacleSideScreen.cs:388)
PlanterSideScreen.SetTarget (UnityEngine.GameObject target) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ui/SideScreens/PlanterSideScreen.cs:439)
DetailsScreen.<Refresh>b__40_0 (DetailsScreen+SideScreenRef scn) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ui/DetailsScreen.cs:339)
System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) (at <9577ac7a62ef43179789031239ba8798>:0)
DetailsScreen.Refresh (UnityEngine.GameObject go) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/ui/DetailsScreen.cs:319)
RootMenu.OnSelectObject (System.Object data) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/screens/RootMenu.cs:120)
EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/EventSystem.cs:170)
KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/KMonoBehaviour.cs:411)
SelectTool.Select (KSelectable new_selected, System.Boolean skipSound) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/InterfaceTools/SelectTool.cs:209)
SelectTool.OnLeftClickDown (UnityEngine.Vector3 cursor_pos) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/InterfaceTools/SelectTool.cs:216)
PlayerController.OnKeyDown (KButtonEvent e) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/PlayerController.cs:294)
KInputHandler.HandleKeyDown (KButtonEvent e) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/KInputHandler.cs:140)
KInputHandler.HandleKeyDown (KButtonEvent e) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/KInputHandler.cs:150)
KInputHandler.HandleEvent (KInputEvent e) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/KInputHandler.cs:127)
KInputController.Dispatch () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/KInputController.cs:335)
KInputManager.Dispatch () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/KInputManager.cs:63)
KInputManager.Update () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/KInputManager.cs:52)
GameInputManager.Update () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/input/GameInputManager.cs:62)
Global.Update () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Global.cs:717)




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...