Space Engineers

Space Engineers

Modular Encounters Systems
Sidetrack Dec 2, 2018 @ 7:49am
Crashing
Hey, not sure if this is a problem with the mod or something I am doing wrong. Just subbed to this and the other mods in the collection(execpt reavers and corruption) and now my game is crashing every 5-10 mins right as some(but not all) ships spawn. This is the error of my recent crash.

2018-12-02 10:41:03.459 - Thread: 1 -> Modular Encounters Spawner: Spawning Group - (Atmo)(NPC-ATM) Supply Transport
2018-12-02 10:41:06.461 - Thread: 1 -> Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.
at ModularEncountersSpawner.GridUtilities.ReplenishGridSystems(IMyCubeGrid cubeGrid, Boolean randomReplaced)
at ModularEncountersSpawner.NPCWatcher.ActiveNpcMonitor()
at ModularEncountersSpawner.MES_SessionCore.UpdateBeforeSimulation()
at Sandbox.Game.World.MySession.UpdateComponents()
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)


Any help would be appretiated. Thanks.
< >
Showing 1-11 of 11 comments
Meridius_IX / Lucas  [developer] Dec 2, 2018 @ 8:31am 
Which ships are spawning when this happens? Can you paste a link to the full log? (Pastebin etc)
Sidetrack Dec 2, 2018 @ 11:19pm 
I removed the Reddit ships and it hasn't happened again. My understanding(possibly wrong) is that the logs are rewritten each time the game reloads so I don't have a crash to submit. It was a "Supply Transport" IIRC. Sorry I can't give much more than that. I'm guessing it's not a common problem though or you'd have heard about it before
Meridius_IX / Lucas  [developer] Dec 3, 2018 @ 9:26am 
I pushed an update that should stop the crashing. Not entirely sure where it's originating from still, but it should be suppressed regardless.
Sidetrack Dec 3, 2018 @ 12:40pm 
Cool, I love the mod btw. Thanks for the help!
Meridius_IX / Lucas  [developer] Dec 3, 2018 @ 1:05pm 
If it's not too much trouble, keep an eye on the logs. I've gotten it to spit out some data if an error happens. If you see any of those messages, can you forward them here?
Sidetrack Dec 3, 2018 @ 7:45pm 
Sounds good. I renabled the Reddit ships and have had zero crashes so far. You rock!
Razorray21 Jan 6, 2019 @ 10:40am 
Im getting crashes a lot with my saves. i usually wind back up to the last good backup, but tends to lose a lil progress.

heres the tail of the log it gives me. I tested with turning the reddit ships mod off, but still get the crashes.

2019-01-06 13:37:15.786 - Thread: 1 -> STATISTICS LEGEND,time,ReceivedPerSecond,SentPerSecond,PeakReceivedPerSecond,PeakSentPerSecond,OverallReceived,OverallSent,CPULoadSmooth,ThreadLoadSmooth,GetOnlinePlayerCount,Ping,GCMemory,ProcessMemory,PCUBuilt,PCU,GridsCount,RenderCPULoadSmooth,RenderGPULoadSmooth,HardwareCPULoad,HardwareAvailableMemory,FrameTime
2019-01-06 13:37:15.807 - Thread: 1 -> STATISTICS,0,0,0,0,0,0,0,26639.36,10210.56,1,0,5318.388,6689.559,11272,88728,23,4.332022,6.194547,0,5641,8.333484
2019-01-06 13:37:34.117 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-General.xml
2019-01-06 13:37:34.178 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-SpaceCargoShips.xml
2019-01-06 13:37:34.249 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-PlanetaryCargoShips.xml
2019-01-06 13:37:34.314 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-RandomEncounters.xml
2019-01-06 13:37:34.372 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-PlanetaryInstallations.xml
2019-01-06 13:37:34.424 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-BossEncounters.xml
2019-01-06 13:37:34.466 - Thread: 1 -> Modular Encounters Spawner: Loaded Existing Settings From Config-OtherNPCs.xml
2019-01-06 13:37:34.471 - Thread: 1 -> Modular Encounters Spawner: Using Spawner Timings From Global Events For Space/Lunar Cargo Ships.
2019-01-06 13:37:34.545 - Thread: 1 -> Modular Encounters Spawner: Failed To Retrieve Previously Spawned Unique Encounters List or No Unique Encounters Have Spawned Yet.
2019-01-06 13:37:34.547 - Thread: 1 -> Modular Encounters Spawner: Conflicting World Settings Detected: Cargo Ships Enabled
2019-01-06 13:37:34.547 - Thread: 1 -> Modular Encounters Spawner: Conflicting World Settings Detected: Random Encounters Enabled
2019-01-06 13:37:34.547 - Thread: 1 -> Modular Encounters Spawner: Modular Encounters Spawner Handles The Functionality Of Conflicting Settings.
2019-01-06 13:37:34.547 - Thread: 1 -> Modular Encounters Spawner: Please Remove Conflicting Settings Listed Above To Ensure Proper Behavior.
2019-01-06 13:37:34.611 - Thread: 1 -> MyGlobalEvents.StartGlobalEvent: MyObjectBuilder_GlobalEventBase/SpawnCargoShip
2019-01-06 13:37:34.931 - Thread: 1 -> Could not spawn event. Try 1 of 3
2019-01-06 13:37:34.932 - Thread: 1 -> MyGlobalEvent.RecalculateActivationTime:
2019-01-06 13:37:34.932 - Thread: 1 -> Next activation in 00:00:10
2019-01-06 13:37:35.681 - Thread: 1 -> MyGuiScreenBase.UnloadContent - START
2019-01-06 13:37:35.682 - Thread: 1 -> MyGuiScreenBase.UnloadContent - END
2019-01-06 13:37:37.427 - Thread: 1 -> Modular Encounters Spawner: Planet For Planetary Cargo Ship (NPC-ATM) Oban Tide / 138934289150754177 No Longer Exists. The NPC Ship Will Be Despawned.
2019-01-06 13:37:37.446 - Thread: 1 -> Exception occured: System.NullReferenceException: Object reference not set to an instance of an object.
at ModularEncountersSpawner.NPCWatcher.DistanceChecker()
at ModularEncountersSpawner.NPCWatcher.ActiveNpcMonitor()
at ModularEncountersSpawner.MES_SessionCore.UpdateBeforeSimulation()
at Sandbox.Game.World.MySession.UpdateComponents()
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)
2019-01-06 13:37:37.448 - Thread: 1 -> Hiding window
2019-01-06 13:37:37.448 - Thread: 1 -> Hiding window done
2019-01-06 13:37:37.448 - Thread: 1 -> Showing message
Exelsiar Jan 19, 2019 @ 5:34pm 
I'm getting the same issue, had it 4 times in a row, tested it with just the Modular Spawner + Corruption mod, and with a whole bunch of other cargo mods.

Log from crash:
https://pastebin.com/uH5426eY
In case it's useful here's the world, you load in on a ship flying straight forward. You don't need to do anything other than wait a short while for a spawn, and instant crash.
https://steamcommunity.com/sharedfiles/filedetails/?id=1629851140
Eirian Jan 27, 2019 @ 6:56am 
I'm getting a problem like this too...
I will post a Pastebin link when it does happen, which it normally does after 10 mins.
Eirian Jan 27, 2019 @ 7:17am 
Kirknay Mar 30, 2019 @ 1:50pm 
I have a new crash, that may be instigated by one of two mods if it isn't this mod's fault: https://pastebin.com/3XGsvSKb
I am sending the link to the log to them as well just in case, but I would like your opinion on it as well. My main suspects are ARMCO and whatever gave my modpack whiplash's railgun. Looking into it now.
< >
Showing 1-11 of 11 comments
Per page: 1530 50