RimWorld

RimWorld

Save Our Ship 2
Personal shuttle breaking game (?)
Whenever a map gets deleted i.e. at the end of a won ship battle, the map refuses to be deleted and rather rudely protests by infinitely breaking a personal shuttle and spamming errors into the console.
No idea whats causing this, but I'm looking for a workaround


System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 81971ACC] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch7 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
< >
Showing 1-9 of 9 comments
I'm also getting a specific other error, although this is not the one being continuously spammed, can't entirely figure out what it means



System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 81971ACC]
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 Vehicles.ListerVehiclesRepairable.Notify_VehicleDespawned (Vehicles.VehiclePawn vehicle) [0x0000c] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.VehiclePawn.DeSpawn (Verse.DestroyMode mode) [0x00054] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Verse.Thing.Destroy (Verse.DestroyMode mode) [0x0009e] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX SmashPhil.VehicleFramework: Void Vehicles.Combat:ProjectileMapToWorld(Thing __instance, DestroyMode mode)
- PREFIX VFEInsectoidsMod: Void VFEInsectoids.CompInsectSpawner+Thing_Destroy_Patch:Prefix(Thing __instance, DestroyMode mode)
at Verse.ThingWithComps.Destroy (Verse.DestroyMode mode) [0x00007] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.Pawn.Destroy (Verse.DestroyMode mode) [0x0006d] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER SmashPhil.VehicleFramework: IEnumerable`1 Vehicles.Construction:ValidDestroyModeForVehicles(IEnumerable`1 instructions)
- PREFIX VPEPuppeteerMod: Void VPEPuppeteer.Pawn_Destroy_Patch:Prefix(Pawn __instance)
- PREFIX VFEInsectoidsMod: Void VFEInsectoids.Pawn_Destroy_Patch:Prefix(Pawn __instance)
- PREFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.Destroy_Patch:Prefix(Pawn __instance)
- PREFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.Destroy_Patch:Prefix(Pawn __instance)
- POSTFIX Krkr.RocketMan: Void RocketMan.Patches.Pawn_Notify_Dirty+Pawn_Dirty:Postfix(Pawn __instance)
- POSTFIX uuugggg.rimworld.SmartMedicine.main: Void SmartMedicine.Destroy_Pawn_Patch:Postfix(Pawn __instance)
- POSTFIX CodeOptimist.WhileYoureUp: Void WhileYoureUp.Mod+Pawn__Destroy_Patch:ClearDetour(Pawn __instance)
- POSTFIX ShipInteriorMod2: Void SaveOurShip2.PreserveSoul2:Postfix(Pawn __instance, DestroyMode mode)
at Vehicles.VehiclePawn.Destroy (Verse.DestroyMode mode) [0x0007f] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.VehiclePawn.Kill (System.Nullable`1[T] dinfo, Verse.DestroyMode destroyMode, System.Boolean spawnWreckage) [0x00236] in <b0a7aa2261564289b7b5d8798d3df720>:0
at SaveOurShip2.WorldObjectOrbitingShip.ShouldRemoveMapNow (System.Boolean& alsoRemoveWorldObject) [0x00139] in <97b10fbcbc02475b820f17e4f4928ce5>:0
at RimWorld.Planet.MapParent.CheckRemoveMapNow () [0x00008] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Planet.MapParent.Tick () [0x00006] in <69945a8ed6c540cf90b578de735e0605>:0
at SaveOurShip2.WorldObjectOrbitingShip.Tick () [0x00001] in <97b10fbcbc02475b820f17e4f4928ce5>:0
at RimWorld.Planet.WorldObjectsHolder.WorldObjectsHolderTick () [0x00024] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Planet.World.WorldTick () [0x00016] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.TickManager.DoSingleTick () [0x00111] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER Krkr.RocketMan: IEnumerable`1 RocketMan.Patches.TickManager_DoSingleTick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX Krkr.RocketMan: Void RocketMan.Patches.TickManager_DoSingleTick_Context_Patch:Prefix()
- PREFIX OskarPotocki.VFECore: Void VFECore.DoSingleTick_Patch:Prefix(Stopwatch& __state)
- PREFIX juanlopez2008.LightsOut: Void LightsOut.Patches.Power.PerformPendingShutoff:Prefix()
- POSTFIX OskarPotocki.VFECore: Void VFECore.DoSingleTick_Patch:Postfix(Stopwatch __state)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch7 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Archon 11 Mar @ 2:40pm 
Started getting this error too. Unfortunately, it makes the game unplayable with this mod. Tried a workaround by leaving the map with a shuttle so it closed before launching to ship and it still gave the error.
I've seen some fixes regarding this yet unmerged on the github, so it might be fixed soon?
Archon 15 Mar @ 2:03pm 
It might be. It appears that it stems with an issue with either map vehicles framework, map vehicles, or technical vehicles.
I am unsure, I tried out some more unstable yes newer versions of SoS2 but those had their own issues. I'll probably stay away from SoS2 until they get it properly updated again
Thain  [developer] 17 Mar @ 2:56pm 
https://github.com/Bqr1s/SaveOurShip2/tree/super_unstable

Try this version. The Steam version and github are again diverging, as development continues on git. Shuttle issue should be fixed.
Shuttle's making endless errors.
I installed the upgrades that add guns to the vehicle ships, I tired firing the plasma and laser cannon but they hit the ground under the shuttle unless it's facing directly forwards, while torpedo cannons fail to fire all together. the shuttles also seem to just make error's by simply existing. this was the error I got. no idea what's causing it.

Exception in Verse.TickList.Tick: System.NullReferenceException: Object reference not set to an instance of an object
[Ref EE3D58F0]
at Vehicles.TurretTargeter.TargetMeetsRequirements (Vehicles.VehicleTurret turret, Verse.LocalTargetInfo target) [0x00037] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.VehicleTurret.TurretTargeterTick () [0x00054] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.VehicleTurret.Tick () [0x0001c] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.CompVehicleTurrets.CompTick () [0x00036] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.VehiclePawn.TickAllComps () [0x0001c] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Vehicles.VehiclePawn.Tick () [0x00006] in <b0a7aa2261564289b7b5d8798d3df720>:0
at Verse.TickList.Tick () [0x0017d] in <55c979a686a941c79e05527da9299180>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
Last edited by free kill; 20 Mar @ 5:53pm
Thain  [developer] 22 Mar @ 10:32am 
https://github.com/Bqr1s/SaveOurShip2/tree/super_unstable

Try this version. The Steam version and github are again diverging, as development continues on git. Shuttle issue should be fixed.

This is the second post about this on the forum so I'll lock this one.
TomRock 24 Mar @ 7:24am 
still getting problems with shutles, cant land back in map tile... just disapears moment when you chose where to land...
< >
Showing 1-9 of 9 comments
Per page: 1530 50