RimWorld

RimWorld

Androids for RW 1.6
Error logs that are output when you start Android output
1. Error logs that are output when you start Android output

Error while determining if ChjSpacerDroid38522 should have Need Chemical_Alcohol: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) RimWorld.LifeStageWorker_HumanlikeAdult.RimWorld.LifeStageWorker_HumanlikeAdult.Notify_LifeStageStarted_Patch1(RimWorld.LifeStageWorker_HumanlikeAdult,Verse.Pawn,RimWorld.LifeStageDef)
at (wrapper dynamic-method) Verse.Pawn_AgeTracker.Verse.Pawn_AgeTracker.RecalculateLifeStageIndex_Patch1(Verse.Pawn_AgeTracker)
at Verse.Pawn_AgeTracker.get_CurLifeStageIndex () [0x00009] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Pawn_AgeTracker.get_CurLifeStageRace () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Pawn_AgeTracker.get_CurLifeStage () [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Pawn.get_DevelopmentalStage () [0x00012] in <cd7169108ea74757aa50c5b33d275c15>:0
at (wrapper dynamic-method) RimWorld.Pawn_NeedsTracker.RimWorld.Pawn_NeedsTracker.ShouldHaveNeed_Patch2(RimWorld.Pawn_NeedsTracker,RimWorld.NeedDef)
at RimWorld.Pawn_NeedsTracker.AddOrRemoveNeedsAsAppropriate () [0x00016] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
RimWorld.Pawn_NeedsTracker:AddOrRemoveNeedsAsAppropriate ()
RimWorld.Pawn_NeedsTracker:.ctor (Verse.Pawn)
(wrapper dynamic-method) RimWorld.PawnComponentsUtility:RimWorld.PawnComponentsUtility.CreateInitialComponents_Patch1 (Verse.Pawn)
Androids.DroidUtility:MakeDroidTemplate (Verse.PawnKindDef,RimWorld.Faction,int,System.Collections.Generic.List`1<Verse.SkillRequirement>,int)
Androids.Building_DroidCrafter:MakePawnAndInitCrafting (Androids.DroidCraftingDef)
Androids.Building_DroidCrafter/<>c__DisplayClass3_0:<InitiatePawnCrafting>b__1 ()
Verse.FloatMenuOption:Chosen (bool,Verse.FloatMenu)
Verse.FloatMenuOption:DoGUI (UnityEngine.Rect,bool,Verse.FloatMenu)
Verse.FloatMenu:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

2. Error logs output immediately after Android output
System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.PortraitsCache.Get (Verse.Pawn pawn, UnityEngine.Vector2 size, Verse.Rot4 rotation, UnityEngine.Vector3 cameraOffset, System.Single cameraZoom, System.Boolean supersample, System.Boolean compensateForUIScale, System.Boolean renderHeadgear, System.Boolean renderClothes, System.Collections.Generic.IReadOnlyDictionary`2[TKey,TValue] overrideApparelColors, System.Nullable`1[T] overrideHairColor, System.Boolean stylingStation, System.Nullable`1[T] healthStateOverride) [0x00041] in <cd7169108ea74757aa50c5b33d275c15>:0
at Androids.Gizmo_PrinterPawnInfo.GizmoOnGUI (UnityEngine.Vector2 topLeft, System.Single maxWidth, Verse.GizmoRenderParms parms) [0x00071] in <72c1976312a04612978fbd5003171dbf>:0
at Verse.GizmoGridDrawer.DrawGizmoGrid (System.Collections.Generic.IEnumerable`1[T] gizmos, System.Single startX, Verse.Gizmo& mouseoverGizmo, System.Func`2[T,TResult] customActivatorFunc, System.Func`2[T,TResult] highlightFunc, System.Func`2[T,TResult] lowlightFunc) [0x004bc] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable`1[T] selectedObjects, Verse.Gizmo& mouseoverGizmo) [0x0017a] in <cd7169108ea74757aa50c5b33d275c15>:0 currentSelectable: null
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.Log:ErrorOnce (string,int)
RimWorld.InspectGizmoGrid:DrawInspectGizmoGridFor (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch2 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)