RimWorld

RimWorld

Save Our Ship 2
Cian Feb 2, 2021 @ 10:10am
Captured ships going out of bounds.
Everything was working fine for a while, then suddenly it started doing wonky things with capturing enemy ships. I put them in one spot and they stay there for a second, then suddenly move off to the side so that most of the ship is out of bounds and gets deleted.

I can see it in action if I double tab spacebar to unpause/pause when I go to capture the ship. It pauses with the ship safely captured in my space tile and all troops onboard are healthy and alive. Then if I unpause again the ship suddenly moves out of bounds with only a small piece of it still within the borders of the map. A bunch of error messages come up saying Index was outside the bounds of the array and that every ship part tried to register out of bounds, destroying. Then all the crew who were onboard are gone and the entire captured ship except for a tiny corner of it is gone.

I can actually stop it by saving and loading the game right after pausing when the ship is still in a good position. Then the ship stays there, although it generates a MinifiedThingShipMove object that throws errors about being null.

Any ideas? I made an attack force armed with cataphract armor and started capturing ships, so I've captured a bunch. Is there a limit I'm hitting that might be causing the issue? I currently have 4 ships on the map when trying to add the 5th which is when it started doing this. I can still salvage ships OK, it just bugs out all of the ships I try to capture.
< >
Showing 1-10 of 10 comments
Cian Feb 2, 2021 @ 10:23am 
I just checked the log file and noticed right before it moves the ship out of bounds it throws this error:

Exception ticking MinifiedThingShipMove2473596 (at (114, 0, 110)): System.ArgumentNullException: Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.Count[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimWorld.ShipCombatManager.get_CachedPlayerShip () [0x00043] in <a8039eeba20243a5931287784964ef0d>:0
at RimWorld.Building_ShipBridge.MoveShip (Verse.IntVec3 adjustment, Verse.Map currentMap) [0x00a54] in <a8039eeba20243a5931287784964ef0d>:0
at RimWorld.MinifiedThingShipMove.Tick () [0x0004e] in <a8039eeba20243a5931287784964ef0d>:0
at Verse.TickList.Tick () [0x0015c] in <d72310b4d8f64d25aee502792b58549f>:0
Jinnerd Mar 4, 2021 @ 7:43pm 
Were you able to resolve the issue? I am having the same bug with extremely similar error logs.

EDIT: I was able to resolve the issue by placing the captured ship further to the lower left on my map. For what it's worth, my original ship was in that lower quadrant before and after launching.
Last edited by Jinnerd; Mar 4, 2021 @ 9:09pm
Cian Mar 5, 2021 @ 10:01am 
I never did solve it, no. I just started salvaging enemy ships instead of capturing.
Blink Welder Mar 8, 2021 @ 12:16pm 
I had this same bug for a very long then, then accidentally solved it by trying to build overtop something invisible on my map (maybe a blueprint? don't know, it didn't display anything or give me any clue as to what it was). After it repeatedly wouldn't let me build a ship hull segment at that one odd location for no obvious reason, I clicked "deconstruct" on the empty spot, the game made the "deconstruct" sound and afterwards everything started working again and I could capture ships.
Thain  [developer] Mar 8, 2021 @ 9:40pm 
Ensure that minify everything is not installed or the ship parts are blacklisted.

https://sosv2.fandom.com/wiki/Compatibility_Issues_With_Other_Mods

Please read the wikia.
Cian Mar 8, 2021 @ 11:31pm 
I don't have any of those incompatible mods installed. Already checked the wikia before I even installed this one :)

This was happening on a run where all I had installed was SF Grim Reality, Fluffy Breakdowns, LWM's Deep Storage, Rimefeller, and Dub's Bad Hygiene. I haven't specifically tried it with a new game without all of those, but removing them and then loading the game didn't stop it from happening.
Last edited by Cian; Mar 8, 2021 @ 11:32pm
Blink Welder Mar 9, 2021 @ 9:57am 
@clan Just put down wall segments or maybe drag a large hardpoint or whatever in the area that you think you might have accidentally placed the ship movement location (don't actually build them, just pause the game and drag over the area). There should be a spot where it doesn't let you put down a blueprint for no obvious reason due to an invisible something already there. "deconstruct" that location and you'll be good to go.
Cian Mar 9, 2021 @ 11:32am 
Mine didn't make a buggy item that I could find unless I saved and loading during the moving process (after it placed the ship parts, but before it warped it off the map). I never had any issues just moving my ships around on the space map or scrapping ships, it was just capturing ships. Could be an issue with larger ships, since the smaller ships all captured normally, but when I captured big ones they often teleported a ways to the side a tick after being placed on the map and were eaten by the map edge.
Thain  [developer] Mar 9, 2021 @ 10:22pm 
Are you guys playing on weird map sizes?
Blink Welder Mar 10, 2021 @ 9:57am 
@Thaiauxm Totally stock map size. The bug seems to happen AFTER you capture your first ship. The first one works just fine, but the ships after that first one act very strange.

One thing I've noticed is that the second ship initially moves to the correct position, but without hull plating. There's a slight pause, then the captured ship reappears in a different location, with hull plating, but there's also Ship roof that appears in the correct location (it looks just like an odd shadow, hovering the mouse over it shows "Ship roof").
< >
Showing 1-10 of 10 comments
Per page: 1530 50