Skip to content

Incompatibility with SOS2: Unable to control shuttlecraft when used with CAI 5000 enabled #94

Description

@DoggoElDoggo

When drafting any of the hover-mode spacecraft, no command gizmos appear and the pawn is unable to be told to move.

System.NullReferenceException: Object reference not set to an instance of an object
at CombatAI.Comps.ThingComp_CombatAI+d__52.MoveNext () [0x00162] in <7e881e4c5c4b45e8b2d527bd09a260df>:0
at Verse.ThingWithComps+d__33.MoveNext () [0x000f3] in :0
at Verse.Pawn+d__274.MoveNext () [0x000ec] in :0
at SaveOurShip2.ShuttleGizmoFix.Postfix (Verse.Pawn __instance, System.Collections.Generic.IEnumerable1[Verse.Gizmo]& __result) [0x0004c] in <2b87be45ea37494aa5e517e8ef8a0c77>:0 at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.GetGizmos_Patch11(Verse.Pawn) at (wrapper dynamic-method) RimWorld.InspectGizmoGrid.RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0(System.Collections.Generic.IEnumerable1,Verse.Gizmo&) currentSelectable: ShuttleDropshipRace21388
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.Log:ErrorOnce (string,int)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1,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_Patch4 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch2 (Verse.Root)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions