Space Engineers

Space Engineers

Planetary Asteroid Rings
skye_e_e 10 Jul, 2024 @ 10:14pm
NullRefException on dedicated server
I've been running this on a server, brand new save started today, and it crashed after running fine for a couple hours with this error. I ignored it the first time in case it was a fluke, but it happened a second time. The only thing we're doing is mining and flying around so it's probably happening when generating an asteroid (and we've generated a LOT just fine, but randomly this error shows up)


2024-07-11 05:05:45.092: ##MOD: Ring asteroid error: System.NullReferenceException: Object reference not set to an instance of an object.
at Havok.HkEntity.get_LinearVelocity()
at Sandbox.Engine.Physics.MyPhysicsBody.GetLinearVelocity(Boolean safe)
at SERingAsteroids.RingAsteroidsComponent.GetGridDistance(HashSet`1 playerControlledEntities, Dictionary`2 gridBlocks, ProceduralVoxelDetails voxelCreate, Double& voxeldist, Double& voxeldistfromplayer, IMyEntity entity)
at SERingAsteroids.RingAsteroidsComponent.GetVoxelsByDistance(Dictionary`2 entitySectors, Dictionary`2 gridBlocks, HashSet`1 playerControlledEntities)
at SERingAsteroids.RingAsteroidsComponent.OrderPendingAsteroidsByDistance(Dictionary`2 entitySectors, Dictionary`2 gridBlocks, List`1 players)
at SERingAsteroids.RingAsteroidsComponent.<>c__DisplayClass60_0.<UpdateBeforeSimulation10>b__1()
^C2024-07-11 05:07:00.126: Server was not responding or running with slow simulation speed.
-----------------------------------END GAME----------------------------------
< >
Showing 1-1 of 1 comments
skye_e_e 10 Jul, 2024 @ 10:24pm 
I'm looking at my logs and it looks the server was up for about a minute after this log and then another error crashed the game from animation engine. So I think this mod may not have anything to do with the actual crash. I'll leave this open for a night just in case / maybe the logged error is still significant
< >
Showing 1-1 of 1 comments
Per page: 1530 50