Space Engineers

Space Engineers

[OBSOLETE] Planetary Cargo Ships
balink 11 May, 2018 @ 12:18pm
Index Out of range Exception while spawning cargo ship
My game crashed today while playing with several different planetary cargo ship mods (I can make a list if you need it) and it crashed with this at the end of the log:

2018-05-11 15:10:55.608 - Thread: 1 -> Planetary Cargo Ships: (CIVL)STARTERSHIP1 Despawn Timer Has Reached its Limit and will be despawned. 2018-05-11 15:11:06.300 - Thread: 1 -> GC Memory: 4,015,085,576 B 2018-05-11 15:11:36.303 - Thread: 1 -> GC Memory: 4,543,380,608 B 2018-05-11 15:11:47.096 - Thread: 1 -> NPC Performance: Results of Clean-Up 2018-05-11 15:11:47.101 - Thread: 1 -> NPC Performance: Identified NPC Grids: 327 2018-05-11 15:11:47.101 - Thread: 1 -> NPC Performance: Captured NPC Grids: 3 2018-05-11 15:11:47.101 - Thread: 1 -> NPC Performance: Deleted NPC Grids: 0 2018-05-11 15:11:55.712 - Thread: 1 -> Autosave initiated 2018-05-11 15:11:55.712 - Thread: 1 -> Character state: True 2018-05-11 15:11:55.712 - Thread: 1 -> IsServer: True 2018-05-11 15:11:55.712 - Thread: 1 -> MyAsyncSaving.InProgress: False 2018-05-11 15:11:55.712 - Thread: 1 -> Autosave 2018-05-11 15:11:55.712 - Thread: 1 -> Saving world - START 2018-05-11 15:11:55.712 - Thread: 1 -> Making world state snapshot. 2018-05-11 15:11:55.712 - Thread: 1 -> Before snapshot.: GC Memory: 4,856,683,304 B 2018-05-11 15:11:56.024 - Thread: 1 -> After snapshot.: GC Memory: 4,893,201,464 B 2018-05-11 15:11:56.033 - Thread: 1 -> Directory cleanup: GC Memory: 4,893,604,720 B 2018-05-11 15:11:56.033 - Thread: 1 -> Saving world - END 2018-05-11 15:11:56.033 - Thread: 19 -> Session snapshot save - START 2018-05-11 15:11:56.034 - Thread: 19 -> Checking file access for files in target dir. 2018-05-11 15:11:59.543 - Thread: 19 -> Session snapshot save - END 2018-05-11 15:12:06.307 - Thread: 1 -> GC Memory: 5,142,300,512 B 2018-05-11 15:12:36.321 - Thread: 1 -> GC Memory: 3,937,242,032 B 2018-05-11 15:12:44.689 - Thread: 1 -> Planetary Cargo Ships: Atmospheric Cargo Ship Spawning Started. Next Spawning Event Starts in 346 Seconds. 2018-05-11 15:12:44.689 - Thread: 1 -> Planetary Cargo Ships: Attempting To Calculate Path Near Player [balink] on Planet [EarthLike--821592447d120000-1266772564729843762-1266772564729843762] 2018-05-11 15:12:44.690 - Thread: 1 -> Planetary Cargo Ships: Cargo Ship Path Successfully Generated After 0 Attempt(s). 2018-05-11 15:12:44.690 - Thread: 1 -> Planetary Cargo Ships: No Custom Faction Detected for SpawnGroup. Faction assigned to SPRT 2018-05-11 15:12:44.690 - Thread: 1 -> Planetary Cargo Ships: Atmospheric Cargo Ship Prefab ::(NPC-ATM) Spirit of Lomond:: Is Being Spawned. 2018-05-11 15:12:45.575 - Thread: 1 -> Exception occured: System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.List`1.Add(T item) at Sandbox.Game.Gui.MyTerminalControlFactory.GetValueControls(Type blockType, List`1 resultList) at Sandbox.ModAPI.MyTerminalControlFactoryHelper.GetProperty(String id, Type blockType) at MeridiusIX.PlanetaryCargoShips.PrefabSpawningWatcher() at Sandbox.Game.World.MyPrefabManager.CreateGridsData.OnGridsCreated(WorkData workData) at ParallelTasks.Parallel.RunCallbacks() at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime) at Sandbox.MySandboxGame.Update() at Sandbox.Engine.Platform.Game.UpdateInternal() at Sandbox.Engine.Platform.Game.RunSingleFrame() at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass1.<Run>b__0() at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback) at Sandbox.Engine.Platform.Game.RunLoop() at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen) at SpaceEngineers.MyProgram.Main(String[] args) 2018-05-11 15:12:45.576 - Thread: 1 -> Hiding window 2018-05-11 15:12:45.576 - Thread: 1 -> Hiding window done 2018-05-11 15:12:45.576 - Thread: 1 -> Showing message

This has only happened once (space engineers tends to crash with a memory access violation exception instead) and I wasn't doing anything special or related to cargo ships at the time.