RimWorld

RimWorld

Locks
1.6 Currently broken
GetInspectString exception on Door109264:
System.NullReferenceException: Object reference not set to an instance of an object
[Ref BA61F600]
at Locks.MechanoidDoor.Equals (Locks.MechanoidDoor other) [0x0001d] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockState.Equals (Locks.LockState other) [0x0003e] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockState.Equals (System.Object obj) [0x00010] in <c84db230b6ef4f12a38add1c385d77a8>:0
at System.Object.Equals (System.Object objA, System.Object objB) [0x0000e] in <51fded79cd284d4d911c5949aff4cb21>:0
at Locks.LockState.op_Inequality (Locks.LockState a, Locks.LockState b) [0x00001] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockData.get_NeedChange () [0x00000] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.CompLock.CompInspectStringExtra () [0x00092] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Verse.ThingWithComps.InspectStringPartsFromComps () [0x00023] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.ThingWithComps.GetInspectString () [0x00013] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.Building_Door.GetInspectString () [0x00000] in <fcfab19af5d14a608a65ebd77f29482f>:0
at RimWorld.InspectPaneFiller.DrawInspectStringFor (Verse.ISelectable sel, UnityEngine.Rect rect) [0x00000] in <fcfab19af5d14a608a65ebd77f29482f>:0
Exception filling tab Locks.ITab_Lock: System.ArgumentNullException: Value cannot be null.
Parameter name: collection
[Ref 77D6584E]
[0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0
<0x23a219db390 + 0x0026a> <unknown method>
<0x23aaef95280 + 0x00062> <unknown method>
at Locks.LockState.CopyFrom (Locks.LockState copy) [0x00058] in <c84db230b6ef4f12a38add1c385d77a8>:0
<0x23aaef94a90 + 0x00252> <unknown method>
at Locks.ITab_Lock.FillTab () [0x005d6] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Verse.InspectTabBase+<>c__DisplayClass19_0.<DoTabGUI>b__0 () [0x00039] in <fcfab19af5d14a608a65ebd77f29482f>:0
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 52697680]
at Locks.MechanoidDoor.Equals (Locks.MechanoidDoor other) [0x0001d] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockState.Equals (Locks.LockState other) [0x0003e] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockState.Equals (System.Object obj) [0x00010] in <c84db230b6ef4f12a38add1c385d77a8>:0
at System.Object.Equals (System.Object objA, System.Object objB) [0x0000e] in <51fded79cd284d4d911c5949aff4cb21>:0
at Locks.LockState.op_Inequality (Locks.LockState a, Locks.LockState b) [0x00001] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockData.get_NeedChange () [0x00000] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockUtility.UpdateLockDesignation (Verse.Thing t) [0x0001e] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockGizmo.InvertLockDesignation () [0x0003a] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.LockGizmo.ProcessInput (UnityEngine.Event ev) [0x00015] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc, System.Boolean multipleSelected) [0x007aa] in <fcfab19af5d14a608a65ebd77f29482f>:0
at Verse.GizmoGridDrawer.DrawGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x001c4] in <fcfab19af5d14a608a65ebd77f29482f>:0 currentSelectable: null
JobDriver threw exception in toil unnamed's initAction for pawn Joh driver=JobDriver_ToggleLock (toilIndex=3) driver.job=(Locks_Flick (Job_1276228) A = Thing_Door109264 Giver = ThinkNode_QueuedJob [workGiverDef: Locks_Flick])
System.ArgumentNullException: Value cannot be null.
Parameter name: collection
[Ref 1818BB68]
[0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0
<0x23a219db390 + 0x0026a> <unknown method>
<0x23aaef95280 + 0x00062> <unknown method>
at Locks.LockState.CopyFrom (Locks.LockState copy) [0x00058] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Locks.JobDriver_ToggleLock+<>c__DisplayClass0_0.<MakeNewToils>b__1 () [0x0006b] in <c84db230b6ef4f12a38add1c385d77a8>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <fcfab19af5d14a608a65ebd77f29482f>:0
JobDriver threw exception in toil unnamed's initAction for pawn Joh driver=JobDriver_ToggleLock (toilIndex=3) driver.job=(Locks_Flick (Job_1276315) A = Thing_Door109264 Giver = JobGiver_Work [workGiverDef: Locks_Flick])
System.ArgumentNullException: Value cannot be null.
Parameter name: collection
[Ref 1818BB68] Duplicate stacktrace, see ref for original
JobDriver threw exception in toil unnamed's initAction for pawn Joh driver=JobDriver_ToggleLock (toilIndex=3) driver.job=(Locks_Flick (Job_1276325) A = Thing_Door109264 Giver = JobGiver_Work [workGiverDef: Locks_Flick])
System.ArgumentNullException: Value cannot be null.
Parameter name: collection

=================================
cant edit any lock settings and every time i switch lock unlock/lock just fills the error log up. Mod doesnt actually do anything.
Last edited by KilledJoy; Jul 16 @ 7:11am
< >
Showing 1-3 of 3 comments
Ki Shuya Jul 17 @ 4:12pm 
Can confirm, I have to dismantle a door and rebuild it before I can click edit. After changing settings the edit button no longer works on any doors and it's just log spam.
Is this on a new save? I tried using this on an in progress save but I couldn't open the edit menu, but doing a quick test let me open the edit menu.
Having the same issue with being unable to edit lock settings. Loading into an existing save and all my pens gates were suddenly all-access with no way to lock the animals back in.
< >
Showing 1-3 of 3 comments
Per page: 1530 50