Space Engineers

Space Engineers

Planetary Asteroid Rings
Lotte / Ember💖 2023 年 12 月 26 日 上午 5:16
Issues with generations on Dedicated server
Heya! I'm using this mod on a dedicated server, but i notice that genration is inconsistent at best to flat out not functional at worst. Additionally, it spams errors in the console.

We used the example file and set Enabled to true, using Bylen. The names match.
The error: 14:12:23.4163 [INFO] Keen: ##MOD: Ring asteroid error: System.ArgumentNullException: Value cannot be null. Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at SERingAsteroids.RingAsteroidsComponent.GetVoxelMaps(List`1 voxelmaps) at SERingAsteroids.RingAsteroidsComponent.<>c__DisplayClass53_0.<UpdateBeforeSimulation10>b__0() 14:12:23.5838 [INFO] Keen: ##MOD: Ring asteroid error: System.ArgumentNullException: Value cannot be null.

Anyone got an idea what we're missing here?
< >
正在显示第 1 - 4 条,共 4 条留言
Bravada Cadelanne  [开发者] 2023 年 12 月 31 日 上午 8:42 
The latest version of this mod should fix this error.
Tino - StarCitizen 2024 年 1 月 8 日 上午 7:21 
I become this Error on Dedicated Server. Local in SP all good.

##MOD: Ring asteroid error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.HashSet`1.Enumerator.MoveNext() at Sandbox.Game.Entities.MyCubeGrid.VRage.Game.ModAPI.IMyCubeGrid.GetBlocks(List`1 blocks, Func`2 collect) at SERingAsteroids.RingAsteroidsComponent.GetGridDistance(HashSet`1 playerControlledEntities, ProceduralVoxelDetails voxelCreate, Double& voxeldist, Double& voxeldistfromplayer, IMyEntity entity) at SERingAsteroids.RingAsteroidsComponent.GetVoxelsByDistance(Dictionary`2 entitySectors, HashSet`1 playerControlledEntities) at SERingAsteroids.RingAsteroidsComponent.OrderPendingAsteroidsByDistance(Dictionary`2 entitySectors, List`1 players) at SERingAsteroids.RingAsteroidsComponent.<>c__DisplayClass55_0.<UpdateBeforeSimulation10>b__0()
Bravada Cadelanne  [开发者] 2024 年 1 月 9 日 上午 12:08 
I will need to add error handling to handle these cases where e.g. blocks are added to or removed from a grid while the mod is trying to find the block closest to a particular asteroid.
Bravada Cadelanne  [开发者] 2024 年 2 月 16 日 上午 2:29 
The latest error should reduce the likelihood of this error occurring.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50