Crafted Items Lost to the void on crafting

Started by bakenokawa, April 27, 2017, 08:14:14 PM

Previous topic - Next topic

bakenokawa

I am Having an odd issue with crafted items being lost.  After playing a new colony for a several hours and successfully crafting identical items; crafted items do not appear in the world.  Below is the log entry for the event.  Any idea what the cause might be or how to fix it?

JobDriver threw exception in initAction. Pawn=Rynyk, Job=DoBill A=Thing_TableSculpting70990 B=Thing_UnfinishedSculpture101443 C=(46, 0, 91), Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00000] in <filename unknown>:0
  at Verse.Room.<UpdateRoomStatsAndRole>m__772 (Verse.RoomRoleDef x) [0x00000] in <filename unknown>:0
  at Verse.GenCollection.MaxBy[RoomRoleDef,Single] (IEnumerable`1 source, System.Func`2 selector, IComparer`1 comparer) [0x00000] in <filename unknown>:0
  at Verse.GenCollection.MaxBy[RoomRoleDef,Single] (IEnumerable`1 source, System.Func`2 selector) [0x00000] in <filename unknown>:0
  at Verse.Room.UpdateRoomStatsAndRole () [0x00000] in <filename unknown>:0
  at Verse.Room.get_Role () [0x00000] in <filename unknown>:0
  at RimWorld.TaleData_Surroundings.GenerateFrom (IntVec3 c, Verse.Map map) [0x00000] in <filename unknown>:0
  at RimWorld.Tale_SinglePawn..ctor (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
  at RimWorld.Tale_SinglePawnAndThing..ctor (Verse.Pawn pawn, Verse.Thing item) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0
  at RimWorld.TaleFactory.MakeRawTale (RimWorld.TaleDef def, System.Object[] args) [0x00000] in <filename unknown>:0
  at RimWorld.TaleRecorder.RecordTale (RimWorld.TaleDef def, System.Object[] args) [0x00000] in <filename unknown>:0
  at Verse.GenRecipe.PostProcessProduct (Verse.Thing product, Verse.RecipeDef recipeDef, Verse.Pawn worker) [0x00000] in <filename unknown>:0
  at Verse.GenRecipe+<MakeRecipeProducts>c__Iterator21E.MoveNext () [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Verse.Thing].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Verse.Thing]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
  at System.Linq.Enumerable.ToList[Thing] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
  at Verse.AI.Toils_Recipe+<FinishRecipeAndStartStoringProduct>c__AnonStorey418.<>m__674 () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.<DoRecipeWork>c__AnonStorey417:<>m__66F()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Mythos

Hi,

I'm also getting this problem sometimes, but with a different job. Here it is hauling most of the times, but other than that the Stacktrace looks the same to me. (Namespaces in the Stacktrace give no clue about a mod causing it)
I suspect it to be a core game bug... unless we have both the same mod installed which is causing this exception. :D

Best Regards,
Mythos