Space Engineers

Space Engineers

Scrapyard - Scenario
Rantalunta 25 Apr, 2023 @ 2:05pm
Bug: frequent crash peobably when spawning voxels or grids
i played a long time without problems. (Unrelated) first the unknown signals stopped landing.
Then after another long hours i found Grids in big holes with a lot of scrap (might have spawned together and "exploded").
Now, like every 1-3 hours i get a crash to desktop with the exception below.
Most likely it's connected to spawning prefabs with Voxel deformation (sounds possible?)
Or as above putting multiple grids in the same space and killing the game in the process.
I slightly increased the spawn rate (*SpawnChanceIncrement: to 30) and reduced the distance for spawns to "750" m.

Any ideas?

Here the log segment

2023-04-25 17:22:24.081 - Thread: 1 -> CreateVoxelMap-OOM2-$47000001-${Min:{X:7.778857E+08 Y:-1.456778E+09 Z:-2338816} Max:{X:7.778867E+08 Y:-1.456777E+09 Z:-2337792}}-$[X:759654, Y:-1422635, Z:-2284]
2023-04-25 17:22:24.081 - Thread: 1 -> CreateVoxelMap-OOM3-$[X:1024, Y:1024, Z:1024]
2023-04-25 17:22:24.082 - Thread: 1 -> CreateVoxelMap-OOM4-${Min:X:-687715386.750441 Y:-1456807373.24218 Z:-738893.625939172 Max:X:978767243.637567 Y:300652473.167012 Z:1425021048.70602}
2023-04-25 17:22:24.082 - Thread: 1 -> CreateVoxelMap-OOM5-${Min:X:898976.5 Y:-1023.5 Z:1598976.5 Max:X:933792.5 Y:33792.5 Z:1633792.5}-${Min:X:-687715354.750441 Y:-1456807341.24218 Z:-738861.625939172 Max:X:978767211.637567 Y:300652441.167012 Z:1425021016.70602}
2023-04-25 17:22:24.096 - Thread: 1 -> Exception occurred: Sandbox.Game.Entities.Planet.MyPlanetVoxelException: Exception of type 'Sandbox.Game.Entities.Planet.MyPlanetVoxelException' was thrown.
at Sandbox.Game.Entities.MyPlanet.CreateVoxelMap(Vector3I_RangeIterator it, MyVoxelPhysics voxelMap, Vector3I storageMin, Vector3I storageMax)
at Sandbox.Game.Entities.MyPlanet.CreateVoxelPhysics(Vector3I& increment, Vector3I_RangeIterator& it)
at Sandbox.Game.Entities.MyPlanet.GeneratePhysicalShapeForBox(Vector3I& increment, BoundingBoxD& shapeBox)
at Sandbox.Game.Entities.MyPlanet.UpdatePlanetPhysics(BoundingBoxD& box)
at Sandbox.Game.Entities.MyPlanet.UpdateFloraAndPhysics(Boolean serial)
at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.UpdateAfterSimulation10()
at Sandbox.Game.Entities.MyParallelEntityUpdateOrchestrator.DispatchAfterSimulation()
at Sandbox.Game.Entities.MyEntities.UpdateAfterSimulation()
at Sandbox.Game.World.MySector.UpdateAfterSimulation()
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__DisplayClass11_0.<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)