Space Engineers

Space Engineers

Modular Encounters Systems
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.
< >
Näytetään 1-11 / 11 kommentista
Meridius_IX / Lucas  [kehittäjä] 2.12.2018 klo 8.31 
Which ships are spawning when this happens? Can you paste a link to the full log? (Pastebin etc)
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  [kehittäjä] 3.12.2018 klo 9.26 
I pushed an update that should stop the crashing. Not entirely sure where it's originating from still, but it should be suppressed regardless.
Cool, I love the mod btw. Thanks for the help!
Meridius_IX / Lucas  [kehittäjä] 3.12.2018 klo 13.05 
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?
Sounds good. I renabled the Reddit ships and have had zero crashes so far. You rock!
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
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1629851140
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.
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.
< >
Näytetään 1-11 / 11 kommentista
Sivua kohden: 1530 50