Describe the bug
After a certain point, usually a save and reload both the organ vats and clone vats lose their ability to be interacted with by the player. Pawns can still maintain the organ vat. This bug also breaks most other item intractability for items in the same defined room. The issue appears to be fixed by breaking the room and re-building the room or removing all Questionable Ethics Enhanced items and re-building them.
Expected behavior
Expected to be able to create bills, deconstruct vat and other such interactions with the place vat(s).
To Reproduce
Steps to reproduce the behavior:
Build organ vat and clone vat.
Play colony for period of time.
Create save of colony.
Go to main menu and load the save.
See error below:
Exception ticking QE_Building_OrganVat366488 (at (124, 0, 112)). Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.RoomRoleWorker_Kitchen.GetScore (Verse.Room room) [0x00060] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.Room. b__90_0 (Verse.RoomRoleDef x) [0x00006] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] selector, System.Collections.Generic.IComparer1[T] comparer) [0x0005c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.Room.UpdateRoomStatsAndRole () [0x000ad] in <7927e938de4c4089b4add4215e58d5b1>:0
at Verse.Room.GetStat (Verse.RoomStatDef roomStat) [0x00008] in <7927e938de4c4089b4add4215e58d5b1>:0
at QEthics.Building_GrowerBase_WorkTable.get_RoomCleanliness () [0x0000b] in <804e9cd33e664dd4abc425830b80919f>:0
at QEthics.Building_GrowerBase_WorkTable.Tick_Crafting () [0x00059] in <804e9cd33e664dd4abc425830b80919f>:0
at QEthics.Building_OrganVat.Tick_Crafting () [0x00000] in <804e9cd33e664dd4abc425830b80919f>:0
at QEthics.Building_GrowerBase_WorkTable.Tick () [0x0003c] in <804e9cd33e664dd4abc425830b80919f>:0
at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2 (Verse.TickList)
Hello,
Describe the bug After a certain point, usually a save and reload both the organ vats and clone vats lose their ability to be interacted with by the player. Pawns can still maintain the organ vat. This bug also breaks most other item intractability for items in the same defined room. The issue appears to be fixed by breaking the room and re-building the room or removing all Questionable Ethics Enhanced items and re-building them.
Expected behavior Expected to be able to create bills, deconstruct vat and other such interactions with the place vat(s).
To Reproduce Steps to reproduce the behavior:
1[T] source, System.Func
2[T,TResult] selector, System.Collections.Generic.IComparer1[T] comparer) [0x0005c] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.GenCollection.MaxBy[TSource,TKey] (System.Collections.Generic.IEnumerable
1[T] source, System.Func`2[T,TResult] selector) [0x00007] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.Room.UpdateRoomStatsAndRole () [0x000ad] in <7927e938de4c4089b4add4215e58d5b1>:0 at Verse.Room.GetStat (Verse.RoomStatDef roomStat) [0x00008] in <7927e938de4c4089b4add4215e58d5b1>:0 at QEthics.Building_GrowerBase_WorkTable.get_RoomCleanliness () [0x0000b] in <804e9cd33e664dd4abc425830b80919f>:0 at QEthics.Building_GrowerBase_WorkTable.Tick_Crafting () [0x00059] in <804e9cd33e664dd4abc425830b80919f>:0 at QEthics.Building_OrganVat.Tick_Crafting () [0x00000] in <804e9cd33e664dd4abc425830b80919f>:0 at QEthics.Building_GrowerBase_WorkTable.Tick () [0x0003c] in <804e9cd33e664dd4abc425830b80919f>:0 at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch2 (Verse.TickList)Screenshots
Additional context Full Harmony Log: https://gist.github.com/cd4fc82a4355c03e9ab7a7684aa9f167
If you require additional information, please let me know and I will do my best to provide it.