Refining Wolframite Crashes with NullReferenceException


Keisori
  • Branch: Live Branch Version: Steam Pending

I attempted to create refined wolframite in the metal refinery and my game crashes.
Log attached, lines of interest:

[21:32:51.995] [1] Exception in: (MetalRefineryComplete).WorkChore`1+States[[Refinery, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]].root.work.Work()
System.NullReferenceException: Object reference not set to an instance of an object
  at Refinery.UpdateOrderQueue (Boolean force_update) [0x00366] in D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\game\Buildings\Refinery.cs:508 
  at Refinery.OnCompleteWork (.Worker worker) [0x00096] in D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\game\Buildings\Refinery.cs:617 
  at Workable.CompleteWork (.Worker worker) [0x00046] in D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\components\Workable.cs:257 
  at Worker.CompleteWork () [0x0002f] in D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\components\Worker.cs:90 
  at GameStateMachine`4+State+<ToggleWork>c__AnonStorey2E[WorkChore`1+States[Refinery],WorkChore`1+StatesInstance[Refinery],WorkChore`1[Refinery],System.Object].<>m__1 (.StatesInstance smi) [0x0002d] in D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\ai\statemachine\GameStateMachine.cs:1713 
  at StateMachine`4+GenericInstance[WorkChore`1+States[Refinery],WorkChore`1+StatesInstance[Refinery],WorkChore`1[Refinery],System.Object].ExecuteActions (.State state, .Action[] actions, Boolean should_log) [0x00043] in D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:872 
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogError(Object, Object)
Debug:LogError(Object, Object) (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\Plugins\Debug.cs:100)
Output:LogErrorWithObj(Object, String) (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\Plugins\Output.cs:168)
Output:LogErrorWithObj(Object, Object[]) (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\Plugins\Output.cs:52)
GenericInstance:ExecuteActions(State, Action[], Boolean) (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:887)
GenericInstance:Update() (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:723)
GenericInstance:<PushState>m__0(Object) (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\ai\statemachine\StateMachine.cs:770)
SystemScheduler:Update() (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\components\SystemScheduler.cs:86)
Global:Update() (at D:\JenkinsWorkspace\Release_SimGame_Windows\game\Assets\scripts\game\Global.cs:87)

Attached is a log and the save file. Refinery can be found above base, near the batteries and transformers

output_log.txt

The Phlegm-Coated Acropolis.sav


Steps to Reproduce
Produce Refined Wolframite in the Metal Refinery


User Feedback


There are no comments to display.



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