Space Engineers

Space Engineers

View Stats:
Dedicated Server 'VRage.DuplicateIdException' Crash Debugging
I am trying to find the root cause of this error that causes the server to crash at somewhat consistent times after server start.
Exception: newEntity: Sandbox.Game.Entities.MyVoxelPhysics, oldEntity: Sandbox.Game.Entities.MyVoxelPhysicsVRage.DuplicateIdException: Exception of type 'VRage.DuplicateIdException' was thrown

I believe it has to do with a planet/other voxel entity and wouldn't be surprised if its one of the modded planets but its a little strange its only happening now after a couple months of playtime on the server. I am unable to reliably reproduce the error consistently with anything Ive tried and nothing in the log that happens just before is consistent either.

Is there any way to make the log more verbose to identify anything about WHICH entities have duplicate IDs???

Currently my test method is to:
1. Make a change in game or SE toolbox
2. Start server/singleplayer and wait till crash (usually between 4-15min)
3. Del and replace save with backup
4. Make new change and repeat

Things Ive tried:
- Spawn Ships & Server Adjuster mods
- Disable MES
- Checked for dup mod IDs
- Del all floating items
- Del all unknown items (-safe zone)
- Del all small ships
- Del all large ships
- Del planets
- Cycle through all active grids as player on server

2025-08-06 18:37:57.956 - Thread: 1 -> Exception: newEntity: Sandbox.Game.Entities.MyVoxelPhysics, oldEntity: Sandbox.Game.Entities.MyVoxelPhysicsVRage.DuplicateIdException: Exception of type 'VRage.DuplicateIdException' was thrown. at VRage.MyEntityIdentifier.AddEntityWithId(IMyEntity entity) at VRage.Game.Entity.MyEntity.set_EntityId(Int64 value) at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, MatrixD worldMatrix, Vector3I storageMin, Vector3I storageMax, MyPlanet parent) at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, Vector3D positionMinCorner, Vector3I storageMin, Vector3I storageMax, MyPlanet parent) 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) 2025-08-06 18:37:57.962 - Thread: 1 -> Exception occurred: newEntity: Sandbox.Game.Entities.MyVoxelPhysics, oldEntity: Sandbox.Game.Entities.MyVoxelPhysicsVRage.DuplicateIdException: Exception of type 'VRage.DuplicateIdException' was thrown. at VRage.MyEntityIdentifier.AddEntityWithId(IMyEntity entity) at VRage.Game.Entity.MyEntity.set_EntityId(Int64 value) at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, MatrixD worldMatrix, Vector3I storageMin, Vector3I storageMax, MyPlanet parent) at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, Vector3D positionMinCorner, Vector3I storageMin, Vector3I storageMax, MyPlanet parent) 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) 2025-08-06 18:37:57.962 - Thread: 1 -> Showing message 2025-08-06 18:37:57.964 - Thread: 1 -> MyInitializer.OnCrash 2025-08-06 18:37:57.964 - Thread: 1 -> var exception = newEntity: Sandbox.Game.Entities.MyVoxelPhysics, oldEntity: Sandbox.Game.Entities.MyVoxelPhysicsVRage.DuplicateIdException: Exception of type 'VRage.DuplicateIdException' was thrown. at VRage.MyEntityIdentifier.AddEntityWithId(IMyEntity entity) at VRage.Game.Entity.MyEntity.set_EntityId(Int64 value) at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, MatrixD worldMatrix, Vector3I storageMin, Vector3I storageMax, MyPlanet parent) at Sandbox.Game.Entities.MyVoxelPhysics.Init(IMyStorage storage, Vector3D positionMinCorner, Vector3I storageMin, Vector3I storageMax, MyPlanet parent) 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) 2025-08-06 18:37:59.137 - Thread: 1 -> ================================== CRASH INFO ================================== AppVersion: 01_206_032 GameName: Space Engineers IsOutOfMemory: False IsGPU: False IsNative: False IsTask: False IsExperimental: True ProcessRunTime: 537 PCUCount: 441106 IsHang: False GCMemory: 3380 GCMemoryAllocated: 3380 HWAvailableMemory: 1696 ProcessPrivateMemory: 18834 AnalyticId: SE ================================== OFNI HSARC ================================== 2025-08-06 18:37:59.137 - Thread: 1 -> Log Closed

Modlist
BLOCKS ✅AQD - Airlock Connectors https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3437815208 AQD - Armor Expansion https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1939935505 ✅AQD - Concrete https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2298956701 AQD - Conveyor Expansion https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1864380341 AQD - Upgradeable Gyroscopes https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2621169600&searchtext=gyro Armor Ramps & Panels Mod Pack https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1481738859 🛠️🧪Aryx-Lynxon Drive Systems https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2394430829&searchtext=aryx Consolidation Propulsions https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3078500424 EDP - More Logistics Options https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2671376862&searchtext= Giant Drills by Life'Tech and Rebels https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3149109127&searchtext=drill High Tech Solar Arrays https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2221990774&searchtext=solar Huge Hydrogen Tanks https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2500505175&searchtext=tank ✅Huge O2/H2 Generators https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2546592707 Huge Refinery + Assembler https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2571508822 More Beams https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2622154048&searchtext=beam P.O.M - XL Blocks [Slopes Update!] https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2943729620 ✅RC.3d >> Elite Dangerous: FSD Supercruise ENGAGE https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3383316474 Rebels Mechanical https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2927399762&searchtext=piston Rebels Lights 1.2.01 https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2718175525 Refill Station https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2752888260 🧪WelderWall https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3370792625 COMBAT Aryx Weapon Enterprises [WeaponCore] https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2530716039 Consolidation Armament II https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2933383148 ✅Defense Shields - v2.2(8) https://stehttps://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2933383148amcommunity.com/sharedfiles/filedetails/?id=3154379105 ✅Stealth Drive (Cloaking) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2805859069&searchtext=stealth ✅WC Radar https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2957590632 WeaponCore - 2.4 https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3154371364 ✅WeaponCore - Replace Vanilla Weapons https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1931509062 ENCOUNTERS ACS Assertive Bunkers https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2473174197&searchtext= Assertive Combat Systems https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1902970975&searchtext=mes Delta Rim Encounters [WeaponCore] https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3012511910 Grey Order PvE Encounters [v0.01.02] https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2120196635&searchtext=mes Imber Corporation (Formerly Air Traffic) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=973526550 Improved Interior Turrets https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2780615880 MES Terran Heavy Industries Engineering https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2615864222&searchtext=mes ✅Modular Encounters Systems https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1521905890 NPC Defense Shields Provider https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2043339470 NPC Weapon Upgrades https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1555044803 NPC Programming Extender https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1400364273 Perpetually Perturbed Pirates https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1992435623 Pravda Heavy Industries https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2852753555 Reavers: Terror of the Verse https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=525460808&searchtext=reaver Smugglers https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2384718926 The Borg - Modular Encounters Systems https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2915662746&searchtext=mes WEC - Encounters Reborn (Back in business!) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2121919067&searchtext=mes VISUAL AQD - Emissive Colors https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2711430394 Colorful Icons https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=801185519&searchtext=weapon+core Edge Be Gone! (No armor edges) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2042716312 HUD - Modern and Fancy https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2626059962 [Mexpex] Hydrogen Thrusters Visuals [TFX] (11) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2215904786 Space Just Got Real (1.188 Update 4) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1136188499&searchtext= QOL AQD - Banner LCDs https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1935562523 Autofill Bottles https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2308085590&searchtext=Autofill+Bottles Automatic Ore Pickup https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=657749341&searchtext=Automatic+Ore+Pickup Binoculars https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2777644246&searchtext=binoculars Block Picker https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2965172919 Build Colors https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1475392343&searchtext=+Build+Colors Easy Control Button Access https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1805199276 Projector Preview - miniature blueprint display + damage status https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=517675282&searchtext= Projection Status https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2980888705&searchtext=layer+project Radioactive Reactor Smoke. https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3025022583&searchtext= Sneaky Sounds - Quieter Tools https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1662953858&searchtext=Sneaky+Sounds Welder Range x4 https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2871551639&searchtext=weld ENVIRONMENT Colossus - Black Hole https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3256144568&searchtext= ✅Configurable Ores https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2973891097&searchtext=/ ✅Configurable Parameters https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2422592854 Cronos https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3303920955&searchtext= Endor: Forest Moon https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2926996060&searchtext= Floren 8 (Gorge Planet) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3500391449&searchtext= Kharak (Beta) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1731305566&searchtext= Komorebi https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3309805284&snr= Kimi & Qun https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2459246911&searchtext= Mila https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2845740110&searchtext= Object-85 (Weather Update) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1662457289&searchtext= Planet Anteros https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2907125513&searchtext= Planet Pyke https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3028738424&searchtext= Teralis - City Planet https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2195637331&searchtext= Terminus - Black Hole https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3481843850&searchtext= PHYSICS ✅Relative Top Speed https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1359618037&searchtext=Relative+Speed INFO/MISC Build Vision 3.0 https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1697184408&searchtext= BuildInfo (extra block+terminal info, air leak finder) https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=514062285 ✅Clean Freak https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2085051314 Electric Network Info - Touch App https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2917216762 Say No To Scrap https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1146278097 SERVER Capture The Flag https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2255059778&searchtext=capture+the King of the Hill - The Complete Edition https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2388326362 ✅ModAdjusterV2 https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3017795356
Last edited by JoeBo; 10 hours ago