RimWorld

RimWorld

Dress for the Weather
Winter 16 Nov, 2023 @ 4:06pm
Issue - DFTW + More Faction Interaction + VFE Mechanoids
Issue - Dress For the Weather, More Faction Interaction (Continued). & VFE Mechanoids compat.
Event - Pirate extortion (More Faction Interaction)

Steps to replicate. Select postpone option VFE extortion offer until final extortion offer is given, select reject. It leads to the following error, which causes a lock, main menu cannot be accessed. HugLib log screen also cannot be accessed.

PS=- __instance.def= RaidEnemy
Exception filling window for RimWorld.Dialog_NodeTreeWithFactionInfo: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) DressForTheWeather.IncidentWorker_PawnsArrivePatch.DressForTheWeather.IncidentWorker_PawnsArrivePatch.Postfix_Patch0(bool&,RimWorld.IncidentWorker_Raid,System.Collections.Generic.List`1<Verse.Pawn>&,RimWorld.IncidentParms)
at (wrapper dynamic-method) RimWorld.IncidentWorker_Raid.RimWorld.IncidentWorker_Raid.TryGenerateRaidInfo_Patch1(RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms,System.Collections.Generic.List`1<Verse.Pawn>&,bool)
at (wrapper dynamic-method) RimWorld.IncidentWorker_Raid.RimWorld.IncidentWorker_Raid.TryExecuteWorker_Patch3(RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms)
at (wrapper dynamic-method) RimWorld.IncidentWorker_RaidEnemy.RimWorld.IncidentWorker_RaidEnemy.TryExecuteWorker_Patch2(RimWorld.IncidentWorker_RaidEnemy,RimWorld.IncidentParms)
at (wrapper dynamic-method) RimWorld.IncidentWorker.RimWorld.IncidentWorker.TryExecute_Patch4(RimWorld.IncidentWorker,RimWorld.IncidentParms)
at MoreFactionInteraction.ChoiceLetter_ExtortionDemand.<get_Choices>b__6_1 () [0x00071] in <29bcd04e6a6a4ce6a37c0d46aa6d6dfd>:0
at Verse.DiaOption.Activate () [0x00038] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.DiaOption.OptOnGUI (UnityEngine.Rect rect, System.Boolean active) [0x000ac] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_NodeTree.DrawNode (UnityEngine.Rect rect) [0x0014e] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_NodeTree.DoWindowContents (UnityEngine.Rect inRect) [0x0006e] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Dialog_NodeTreeWithFactionInfo.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39


I wasn't sure where to post this as it involves three mods, i posted here as i saw DFTW first in the log. Please let me know if this needs to be forwarded to either MFI or the VE teams.

Regards,
Winter
Last edited by Winter; 17 Nov, 2023 @ 2:08am
< >
Showing 1-3 of 3 comments
Winter 16 Nov, 2023 @ 4:33pm 
Using the following load order there is no longer a lock but clicking reject does not succesfully reject the offer (it stays active in the letter list) & generates the error seen below.

More Faction Interaction
Dress For the Weather
VFE Mechanoids.


The following error was thrown when
Exception filling window for RimWorld.Dialog_NodeTreeWithFactionInfo: System.NullReferenceException: Object reference not set to an instance of an object
at DressForTheWeather.IncidentWorker_PawnsArrivePatch.Postfix (System.Boolean& __result, RimWorld.IncidentWorker_Raid __instance, System.Collections.Generic.List`1[Verse.Pawn]& pawns, RimWorld.IncidentParms parms) [0x00023] in <0cdf7481c31b4b4c8386ea2470345b5d>:0
at (wrapper dynamic-method) RimWorld.IncidentWorker_Raid.RimWorld.IncidentWorker_Raid.TryGenerateRaidInfo_Patch1(RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms,System.Collections.Generic.List`1<Verse.Pawn>&,bool)
at (wrapper dynamic-method) RimWorld.IncidentWorker_Raid.RimWorld.IncidentWorker_Raid.TryExecuteWorker_Patch3(RimWorld.IncidentWorker_Raid,RimWorld.IncidentParms)
at (wrapper dynamic-method) RimWorld.IncidentWorker_RaidEnemy.RimWorld.IncidentWorker_RaidEnemy.TryExecuteWorker_Patch2(RimWorld.IncidentWorker_RaidEnemy,RimWorld.IncidentParms)
at (wrapper dynamic-method) RimWorld.IncidentWorker.RimWorld.IncidentWorker.TryExecute_Patch4(RimWorld.IncidentWorker,RimWorld.IncidentParms)
at MoreFactionInteraction.ChoiceLetter_ExtortionDemand.<get_Choices>b__6_1 () [0x00071] in <29bcd04e6a6a4ce6a37c0d46aa6d6dfd>:0
at Verse.DiaOption.Activate () [0x00038] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.DiaOption.OptOnGUI (UnityEngine.Rect rect, System.Boolean active) [0x000ac] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_NodeTree.DrawNode (UnityEngine.Rect rect) [0x0014e] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_NodeTree.DoWindowContents (UnityEngine.Rect inRect) [0x0006e] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.Dialog_NodeTreeWithFactionInfo.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch7 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate ( UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle
Last edited by Winter; 18 Nov, 2023 @ 9:48am
Daniel  [developer] 17 Nov, 2023 @ 12:07am 
Perfect report, thanks mate. Will fix as soon as I can.
Daniel  [developer] 21 Nov, 2023 @ 12:58pm 
Implemented a potential fix, could you test it for me?
< >
Showing 1-3 of 3 comments
Per page: 1530 50