I think ive got most of the XML modding down and have moved into some light DLL work without issue but pawns....oh god...no matter which way i do things i end up with the same result:
Every time.
Ive tried using the pawn generator in a DLL, ive stripped it right back now and just have a the race def and the pawnkind and I still get the above....am i missing something obvious?
Code Select
NullReferenceException: Object reference not set to an instance of an object
at Verse.Pawn.AddAndRemoveComponentsAsAppropriate () [0x00000] in <filename unknown>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnKindDef kindDef, RimWorld.Faction faction) [0x00000] in <filename unknown>:0
at Verse.Dialog_DebugActionsMenu+<DoListingItems>c__AnonStorey1EE.<>m__2C6 () [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.UIMapRoot.UIRootOnGUI () [0x00000] in <filename unknown>:0
at VerseBase.Root.OnGUI () [0x00000] in <filename unknown>:0
Every time.
Ive tried using the pawn generator in a DLL, ive stripped it right back now and just have a the race def and the pawnkind and I still get the above....am i missing something obvious?