Skip to content

SOS2 – Ship cannot land: "failed, no valid ship index found" after loading save #123

@baihuadan

Description

@baihuadan

Body:

Hello, and thank you for your work on the SOS2 mod.
I encountered a problem with ship movement/landing that appeared suddenly today.

Issue description

When attempting to land my ship from space onto a planet map, the following error appears repeatedly:

Ship move to map: Map-XXX failed, no valid ship index found!
Save, reload and report!

This happens during ShipMapComp.SlowTick and prevents the ship from landing.
Yesterday the ship could take off and land normally, but today it stopped working.

Additional information

I am using the Steam version of RimWorld.

I have many mods installed (possibly too many), but the ship movement worked before.

The problem started suddenly without major changes to my mod list.

Reloading the save and restarting the game did not solve the issue.

What I can provide

Full HugsLib log: https://gist.github.com/HugsLibRecordKeeper/9bc3784f68bcb2224cee78c53ccf3326

Screenshots of my ship and UI

Mod list if needed

If you have time, please take a look. If not, I completely understand—thank you for making this mod and for your help.

Error log:
<color=#00FFFFFF>SOS2: Map-118-PlayerHome<color=#FF0000FF> Ship move to map: Map-118-PlayerHome<color=#FF0000FF> failed, no valid ship index found! Save, reload and report!
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:SaveOurShip2.ShipInteriorMod2.MoveShip_Patch1 (Verse.Building,Verse.Map,Verse.IntVec3,RimWorld.Faction,byte,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:SaveOurShip2.ShipMapComp.SlowTick_Patch1 (SaveOurShip2.ShipMapComp,int)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:SaveOurShip2.ShipMapComp.MapComponentTick_Patch1 (SaveOurShip2.ShipMapComp)
Verse.MapComponentUtility:MapComponentTick (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Map.MapPostTick_Patch3 (Verse.Map)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
Verse.Root_Play:Update ()

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