Hi everybody,
Here is my problem. I have made my Alien Xenomorphs mod. So I have my aliens race, pawns and faction. The faction is Hidden and obviously not humanlike. They are ennemies and should normaly spawn to attack. But here is the issue, everytime I try to spawn them, I get this error :
Of course they don't spawn alone and the manual spawn from dev console bring me that.
Do someone knows how to fix that ?
Thanks
Here is my problem. I have made my Alien Xenomorphs mod. So I have my aliens race, pawns and faction. The faction is Hidden and obviously not humanlike. They are ennemies and should normaly spawn to attack. But here is the issue, everytime I try to spawn them, I get this error :
Code Select
Exception filling window for Verse.Dialog_DebugOptionListLister: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.IncidentWorker_Raid.TryExecuteWorker (RimWorld.IncidentParms parms) [0x002c1] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Game\Storyteller\Incidents\Workers\PawnsArrive\IncidentWorker_Raid.cs:185
at RimWorld.IncidentWorker_RaidEnemy.TryExecuteWorker (RimWorld.IncidentParms parms) [0x00003] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Game\Storyteller\Incidents\Workers\PawnsArrive\IncidentWorker_RaidEnemy.cs:24
at RimWorld.IncidentWorker.TryExecute (RimWorld.IncidentParms parms) [0x00003] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Defs\DefTypes\IncidentDef.cs:283
at Verse.Dialog_DebugActionsMenu.DoRaid (RimWorld.IncidentParms parms) [0x0002e] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\DevTools\Dialogs\Dialog_DebugActionsMenu.cs:2239
at Verse.Dialog_DebugActionsMenu+<DoListingItems_MapActions>c__AnonStorey9+<DoListingItems_MapActions>c__AnonStorey5+<DoListingItems_MapActions>c__AnonStorey7+<DoListingItems_MapActions>c__AnonStorey8.<>m__0 () [0x0002d] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\DevTools\Dialogs\Dialog_DebugActionsMenu.cs:235
at Verse.Dialog_DebugOptionLister.DebugAction (System.String label, System.Action action) [0x00045] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\DevTools\Dialogs\Dialog_DebugOptionListLister.cs:23
at Verse.Dialog_DebugOptionListLister.DoListingItems () [0x00037] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\DevTools\Dialogs\Dialog_DebugOptionLister.cs:45
at Verse.Dialog_OptionLister.DoWindowContents (Rect inRect) [0x000ee] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Dialog\DialogsVarious\Dialog_OptionLister.cs:60
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x0021c] in C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Window.cs:195
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Verse.Log:Error(String) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:46)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32) (at C:\Dev\RimWorld\Assets\Scripts\Verse\UI\Windows\Window.cs:199)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle) (at C:\buildslave\unity\build\Runtime\IMGUI\Managed\GUI.cs:1817)
Of course they don't spawn alone and the manual spawn from dev console bring me that.
Do someone knows how to fix that ?
Thanks