Rather odd as it seems some sieges dont have a problem, but I get this error:
I assume it has something to do with some sort of higher tier weapon selection as, really low point stuff doesnt have an issue and will spawn sometimes.
![](http://i.imgur.com/K7ah0rC.png)
My XML files for the factions/pawnkinds are as so:
https://www.dropbox.com/s/fb9e4n0z4v79tma/Apparel_MetroHats.xml?dl=0
https://www.dropbox.com/s/umqr0g2gxnzcj9w/Factions_Metro.xml?dl=0
https://www.dropbox.com/s/guauzx595mg3x5b/PawnKind_Metro.xml?dl=0
https://www.dropbox.com/s/mh142ucgx1hywon/Weapons_Explosives.xml?dl=0
https://www.dropbox.com/s/udpv4vyrbl38xcu/Weapons_Guns.xml?dl=0
https://www.dropbox.com/s/cew9euiw0hdn0jl/Weapons_Melee.xml?dl=0
I assume it has something to do with some sort of higher tier weapon selection as, really low point stuff doesnt have an issue and will spawn sometimes.
Code Select
NullReferenceException: Object reference not set to an instance of an object
at Verse.Pawn_EquipmentTracker.AddEquipment (Verse.ThingWithComps newEq) [0x00000] in <filename unknown>:0
at RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnKindDef kindDef, RimWorld.Faction faction, Int32 tries) [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugActionsMenu+<DoListingItems_GameModeMap>c__AnonStorey2A7.<>m__417 () [0x00000] in <filename unknown>:0
at Verse.DebugTool.DebugToolOnGUI () [0x00000] in <filename unknown>:0
at Verse.DebugTools.DebugToolsOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Map.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
NullReferenceException: Object reference not set to an instance of an object
at Verse.Pawn_EquipmentTracker.AddEquipment (Verse.ThingWithComps newEq) [0x00000] in <filename unknown>:0
at RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnKindDef kindDef, RimWorld.Faction faction, Int32 tries) [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugActionsMenu+<DoListingItems_GameModeMap>c__AnonStorey2A7.<>m__417 () [0x00000] in <filename unknown>:0
at Verse.DebugTool.DebugToolOnGUI () [0x00000] in <filename unknown>:0
at Verse.DebugTools.DebugToolsOnGUI () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Map.UIRootOnGUI () [0x00000] in <filename unknown>:0
at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0
(Filename: Line: -1)
Code Select
Exception filling window for Verse.Dialog_DebugOptionListLister: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.Pawn_EquipmentTracker.AddEquipment (Verse.ThingWithComps newEq) [0x00000] in <filename unknown>:0
at RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor (Verse.Pawn pawn) [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnKindDef kindDef, RimWorld.Faction faction, Int32 tries) [0x00000] in <filename unknown>:0
at RimWorld.PawnGroupMaker+<GenerateArrivingPawns>c__Iterator81.MoveNext () [0x00000] in <filename unknown>:0
at RimWorld.PawnGroupMakerUtility+<GenerateArrivingPawns>c__Iterator82.MoveNext () [0x00000] in <filename unknown>:0
at System.Collections.Generic.List`1[Verse.Pawn].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0
at System.Collections.Generic.List`1[Verse.Pawn]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.ToList[Pawn] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at RimWorld.IncidentWorker_Raid.TryExecute (RimWorld.IncidentParms parms) [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugActionsMenu.DoRaid (RimWorld.IncidentParms parms) [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugActionsMenu+<DoListingItems_GameModeMap>c__AnonStorey2A0+<DoListingItems_GameModeMap>c__AnonStorey29C+<DoListingItems_GameModeMap>c__AnonStorey29E+<DoListingItems_GameModeMap>c__AnonStorey29F.<>m__42E () [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugOptionLister.DrawDebugAction (System.String label, System.Action action) [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugOptionListLister.DoListingItems () [0x00000] in <filename unknown>:0
at Verse.Dialog_OptionLister.FillWindow (Rect inRect) [0x00000] in <filename unknown>:0
at Verse.Layer_Window.DoWindowContents () [0x00000] in <filename unknown>:0
(Filename: C:/buildslave/unity/build/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 56)
![](http://i.imgur.com/K7ah0rC.png)
My XML files for the factions/pawnkinds are as so:
https://www.dropbox.com/s/fb9e4n0z4v79tma/Apparel_MetroHats.xml?dl=0
https://www.dropbox.com/s/umqr0g2gxnzcj9w/Factions_Metro.xml?dl=0
https://www.dropbox.com/s/guauzx595mg3x5b/PawnKind_Metro.xml?dl=0
https://www.dropbox.com/s/mh142ucgx1hywon/Weapons_Explosives.xml?dl=0
https://www.dropbox.com/s/udpv4vyrbl38xcu/Weapons_Guns.xml?dl=0
https://www.dropbox.com/s/cew9euiw0hdn0jl/Weapons_Melee.xml?dl=0