RimWorld

RimWorld

Faction Blender
This topic has been locked
Paladin 24 Jul, 2019 @ 12:40am
What the hack issue
What the hack causes that kind of error when run together with Faction Blender:
Exception filling window for Verse.Dialog_DebugOptionListLister: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.IncidentWorker_Raid.TryExecuteWorker_Patch0 (object,RimWorld.IncidentParms) <0x00c2c>
at RimWorld.IncidentWorker.TryExecute (RimWorld.IncidentParms) <0x00024>
at Verse.Dialog_DebugActionsMenu.DoRaid (RimWorld.IncidentParms) <0x00090>
at Verse.Dialog_DebugActionsMenu/<DoListingItems_MapActions>c__AnonStorey8/<DoListingItems_MapActions>c__AnonStoreyA/<DoListingItems_MapActions>c__AnonStoreyB/<DoListingItems_MapActions>c__AnonStoreyC.<>m__0 () <0x0003c>
at Verse.Dialog_DebugOptionLister.DebugAction (string,System.Action) <0x0014b>
at Verse.Dialog_DebugOptionListLister.DoListingItems () <0x000b7>
at Verse.Dialog_OptionLister.DoWindowContents (UnityEngine.Rect) <0x004e3>
at Verse.Window/<WindowOnGUI>c__AnonStorey0.<>m__0 (int) <0x00882>

Reproduce:
Spawn 4-8 raids in a row (4000-5000 points, Immediate attack, edgewalking) from both new mixed faction blender factions. One of the raids will cause that error, probably when hacked mechs spawn.
< >
Showing 1-1 of 1 comments
SineSwiper  [developer] 6 Aug, 2019 @ 6:13pm 
This is usually caused by some reference to pawns in the code not accounting for traits that don't exist for non-humans. You might want to let the What the Hack?! dev know about it. I know it's somewhere in this code[github.com], but not sure which object is the problem.
< >
Showing 1-1 of 1 comments
Per page: 1530 50