RimWorld

RimWorld

Humanoid Alien Races
This topic has been locked
irilis 28 Aug, 2021 @ 12:23pm
Error in Player.log when butchering dead prisoners
Error while notifying ideos of a HistoryEvent: System.InvalidCastException: Specified cast is not valid.
at RimWorld.ThoughtMaker.MakeThought (RimWorld.ThoughtDef def, RimWorld.Precept sourcePrecept) [0x0000b] in <d243303f714d4dc48680ccaecd2f594e>:0
at (wrapper dynamic-method) RimWorld.PreceptComp_KnowsMemoryThought.RimWorld.PreceptComp_KnowsMemoryThought.Notify_MemberWitnessedAction_Patch0(RimWorld.PreceptComp_KnowsMemoryThought,RimWorld.HistoryEvent,RimWorld.Precept,Verse.Pawn)
at RimWorld.Ideo.Notify_MemberKnows (RimWorld.HistoryEvent ev, Verse.Pawn member) [0x00031] in <d243303f714d4dc48680ccaecd2f594e>:0
at RimWorld.IdeoUtility.<Notify_HistoryEvent>g__CheckKnows|0_0 (Verse.Pawn p, RimWorld.IdeoUtility+<>c__DisplayClass0_0& ) [0x00017] in <d243303f714d4dc48680ccaecd2f594e>:0
at RimWorld.IdeoUtility.Notify_HistoryEvent (RimWorld.HistoryEvent ev, System.Boolean canApplySelfTookThoughts) [0x000c8] in <d243303f714d4dc48680ccaecd2f594e>:0
at RimWorld.HistoryEventsManager.RecordEvent (RimWorld.HistoryEvent historyEvent, System.Boolean canApplySelfTookThoughts) [0x00000] in <d243303f714d4dc48680ccaecd2f594e>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

To me this looks like it might be dependent on Ideology expansion, which I don't have.
< >
Showing 1-5 of 5 comments
erdelf  [developer] 28 Aug, 2021 @ 12:32pm 
Nope, while I'm experimenting with ideology atm nothing requires it so far. This looks like something modifying an ideology without you having the right thought available. Please provide a full log.
irilis 28 Aug, 2021 @ 2:28pm 
erdelf  [developer] 28 Aug, 2021 @ 3:36pm 
Hm, apologies can't pinpoint it. Seems like something adding a new work giver, but can't pinpoint it further.
irilis 29 Aug, 2021 @ 5:49am 
Problem with WorkGiver was caused by another mod ("Misc. Robots" when used without "MiscRobots WorkTab support").
New log without WorkGiver errors: https://pastebin.com/qiw3VjT6
erdelf  [developer] 29 Aug, 2021 @ 7:39am 
Alright, not what I thought it was then. The log sadly doesn't tell a lot. I can't help at all sadly without further info. If you want you can come to the discord and I'll help you with a debug mod.
< >
Showing 1-5 of 5 comments
Per page: 1530 50