RimWorld

RimWorld

The Army Of Fetid Corpses
Poots Nov 5, 2023 @ 12:44am
New bug after latest update
New update is amazing and I love it, however there is a new bug introduced with it that wasn't happening till you did the update. I can interact with Comms Console, however it fails to generate the menu, I am getting this error:

Exception in RimWorld.FloatMenuMakerMap.ChoicesAtFor: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.GoodwillSituationWorker_SameIdeo.GetNaturalGoodwillOffset (RimWorld.Faction other) [0x00013] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.GoodwillSituationManager.Recalculate (RimWorld.Faction other, System.Collections.Generic.List`1[T] outSituations) [0x00038] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.GoodwillSituationManager.Recalculate (RimWorld.Faction other, System.Boolean canSendHostilityChangedLetter) [0x00020] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.GoodwillSituationManager.GetSituations (RimWorld.Faction other) [0x0002f] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.GoodwillSituationManager.GetMaxGoodwill (RimWorld.Faction other) [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Faction.GoodwillWith (RimWorld.Faction other) [0x00032] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Faction.get_PlayerGoodwill () [0x00006] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Faction.CommFloatMenuOption (RimWorld.Building_CommsConsole console, Verse.Pawn negotiator) [0x0005f] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Building_CommsConsole+<GetFloatMenuOptions>d__7.MoveNext () [0x00091] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.FloatMenuMakerMap.AddHumanlikeOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x06109] in <cd7169108ea74757aa50c5b33d275c15>:0
- transpiler vanillaexpanded.factions.deserters: IEnumerable`1 VFED.HarmonyPatches.MiscPatches:CheckBiosecurity(IEnumerable`1 instructions, ILGenerator generator)
- prefix OskarPotocki.VFECore: Void VanillaWeaponsExpanded.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Prefix(Pawn pawn)
- postfix RedMattis.BetterPrerequisites: Void BigAndSmall.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
- postfix OskarPotocki.VFECore: Void VanillaWeaponsExpanded.FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix()
- postfix OskarPotocki.VFECore: Void VFECore.Patch_FloatMenuMakerMap+AddHumanlikeOrders_Fix:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
- postfix VFEEmpire.Mod: Void VFEEmpire.HarmonyPatches.Patch_AddHumanlikeOrders:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix OskarPotocki.VRESanguophage: Void VanillaRacesExpandedSanguophage.VanillaRacesExpandedSanguophage_FloatMenuMakerMap_AddHumanlikeOrders_Patch:AddCarryToDrainCasket(List`1 opts, Vector3 clickPos, Pawn pawn)
- postfix OskarPotocki.HeavyWeapons: Void HeavyWeapons.Patch_FloatMenuMakerMap+AddHumanlikeOrders_Fix:Postfix(Vector3 clickPos, Pawn pawn, List`1& opts)
- postfix net.pardeike.zombieland: Void ZombieLand.Patches+FloatMenuMakerMap_AddHumanlikeOrders_Patch:Postfix(Vector3 clickPos, Pawn pawn, List`1 opts)
- postfix legodude17.mvcf: Void MVCF.PatchSets.PatchSet_Brawlers:AddHumanlikeOrders_Postfix(List`1 opts, Vector3 clickPos, Pawn pawn)
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000db] in <cd7169108ea74757aa50c5b33d275c15>:0
- postfix OskarPotocki.VFECore: Void VFE.Mechanoids.HarmonyPatches.FloatMenuMakerMap_ChoicesAtFor_Patch:Postfix(List`1& __result, Vector3 clickPos, Pawn pawn, Boolean suppressAutoTakeableGoto)
- postfix net.pardeike.rimworld.mods.achtung: Void AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Postfix:Postfix(List`1 __result, Vector3 clickPos, Pawn pawn)
- finalizer net.pardeike.rimworld.mods.achtung: Exception AchtungMod.FloatMenuMakerMap_ChoicesAtFor_Finalizer:Finalizer(Exception __exception, List`1& __result)

It's a pretty big deal for me because I try to do the Vanilla Deserters Expanded ending and I cannot progress through the story/save file. Is this something you can fix? Thanks!
< >
Showing 1-5 of 5 comments
RecalledDread Nov 5, 2023 @ 2:44am 
I had this issue on a new save (since the update). Apparently removing the mod, saving the game, then re-adding the mod fixes it. Currently trying it myself and will let you know if it helped. You could also try adding a pawn as a faction leader through save editing, but I haven't tried that yet.
Last edited by RecalledDread; Nov 5, 2023 @ 2:45am
RecalledDread Nov 5, 2023 @ 3:07am 
Originally posted by RecalledDread:
I had this issue on a new save (since the update). Apparently removing the mod, saving the game, then re-adding the mod fixes it. Currently trying it myself and will let you know if it helped. You could also try adding a pawn as a faction leader through save editing, but I haven't tried that yet.


Can confirm;
- Remove the mod
- Save the game without the mod active
- Add the mod back in

The above works (so far), comms console is working again.

I think the issue is that the faction was leaderless. It had no leader before doing the above, but afterwards it gave them a leader.
Last edited by RecalledDread; Nov 5, 2023 @ 3:08am
Poots Nov 5, 2023 @ 5:07am 
I can confirm that this help fix the issue, however I lost everything I've had gathered, including the mechs.

Unfortunate but I can atleast continue the save file. Thanks!
lejkob Nov 6, 2023 @ 9:40am 
Same problem here
BlackMarket420  [developer] Nov 7, 2023 @ 3:50am 
Hey there, sorry for the late reply, was dealing with some stuff in my front. Yes, this problem was due to making the hidden necronoid faction not hidden, so the old save will cause some issues. Apologies for that btw, was just fixing the problem with the lack of necronoid raid that I've been recieving lately. That's also the reason why I made the inquiry in the discussion tab, just to find out if it is the same with everyone.
< >
Showing 1-5 of 5 comments
Per page: 1530 50