Skip to content

Instantly share code, notes, and snippets.

@Neceros
Created August 30, 2020 07:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neceros/cad5241e5ff96d5845eb2cf5e07ebcbd to your computer and use it in GitHub Desktop.
Save Neceros/cad5241e5ff96d5845eb2cf5e07ebcbd to your computer and use it in GitHub Desktop.
Error
Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object
at Androids.DroidUtility.MakeDroidTemplate (Verse.PawnKindDef pawnKindDef, RimWorld.Faction faction, System.Int32 tile, System.Collections.Generic.List`1[T] skills, System.Int32 defaultSkillLevel) [0x00137] in <acb803ec9ce94f14af36f09e69bfc8d7>:0
at Androids.HarmonyPatches.Patch_PawnGenerator_TryGenerateNewPawnInternal (Verse.Pawn& __result, Verse.PawnGenerationRequest& request, System.String& error) [0x00031] in <acb803ec9ce94f14af36f09e69bfc8d7>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&,string&,bool,bool)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x00096] in <7b345446a85d4ed599f9c604ae61854b>:0
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <7b345446a85d4ed599f9c604ae61854b>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch1(Verse.PawnGenerationRequest)
Verse.Log:Error(String, Boolean)
Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch1(PawnGenerationRequest)
RimWorld.PawnGroupKindWorker_Normal:GeneratePawns(PawnGroupMakerParms, PawnGroupMaker, List`1, Boolean)
RimWorld.PawnGroupKindWorker:GeneratePawns(PawnGroupMakerParms, PawnGroupMaker, Boolean)
RimWorld.PawnGroupMaker:GeneratePawns(PawnGroupMakerParms, Boolean)
RimWorld.<GeneratePawns>d__1:MoveNext()
System.Collections.Generic.List`1:.ctor(IEnumerable`1)
System.Linq.Enumerable:ToList(IEnumerable`1)
RimWorld.IncidentWorker_Raid:TryExecuteWorker(IncidentParms)
RimWorld.IncidentWorker_RaidEnemy:TryExecuteWorker(IncidentParms)
RimWorld.IncidentWorker:TryExecute(IncidentParms)
Verse.<>c__DisplayClass1_0:<ExecuteRaidWithPoints>b__0()
Verse.FloatMenuOption:Chosen(Boolean, FloatMenu)
Verse.FloatMenuOption:Verse.FloatMenuOption.DoGUI_Patch1(FloatMenuOption, Rect, Boolean, FloatMenu)
Verse.FloatMenu:DoWindowContents(Rect)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment