Closed cbtendo closed 4 years ago
turns out to be other mod cuasing this
I was about to add Room Roles for "Warehouse" and "Storage Room" - let me head off potential problems now: what was the mod that was causing this?
At first I thought it was dubs performance analysis mod. which is weird because a monitoring tool shouldn't cause error like this. But after I turned off the mod, the error doesn't shows. Then I talked with dubwise, but it shouldn't have caused an error.
And then I experimented some more and found out that this issue was caused when there are multiple roles in the same room. such as a room containing stove and any other production building and deep storage (I think). I highly suspect is the kitchen roles, after I separate the stove into another room, the issue is solved.
It's very weird because the mod involved in the log are: DrawGizmoGrid DubsAnalyzer
DrawInspectGizmoGridFor AllowTool
UIRootOnGUI InGameDefEditor DubsAnalyzer
which does not have anything to do with room roles or kitchen. I really dont know now what's the issue. If you want to see the log, its here: https://gist.github.com/HugsLibRecordKeeper/59ad5571b5cf7fa7d50106d894538ea9
Out of curiosity, did you ever figure out what this was?
I'm not really sure, but there's a strong suspicion that it's vanilla furniture expanded - production. that's my only mod I subscribed that added new kitchen related workbench. and aftar I disabled it, the problem was solved. But, there's nothing in the error log that point into that mod
That's as reasonable guess as any. I hope it doesn't happen again!
My game freezed when i build one of the storage crates (using this mod & storage solution) and tried to click the crates. it constantly create this error
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at Verse.Gizmo_RoomStats.GizmoOnGUI (UnityEngine.Vector2 topLeft, System.Single maxWidth) [0x000bb] in:0
at (wrapper dynamic-method) Verse.GizmoGridDrawer.DMD<DMD?-536656640::DrawGizmoGrid_Patch1>(System.Collections.Generic.IEnumerable?-1761883008::DrawInspectGizmoGridFor_Patch2>(System.Collections.Generic.IEnumerable`1
1<Verse.Gizmo>,single,Verse.Gizmo&) at DubsAnalyzer.H_DrawInspectGizmoGridFor.Prefix (System.Collections.Generic.IEnumerable
1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x0007d] in <39d91618e30f4485ac5e89dd9215dea4>:0 at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.DMD<DMD