Duplicate Entity ID Exception in Voxel Prefetch
Need More Information
Infrequently SE will throw the exception below when a mod uses the MyPlanet.PrefetchShapeOnRay method. Unsure if something changed in 206, but this never appeared until very recently.
2025-07-29 14:11:45.842 - 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.PrefetchShapeOnRay(LineD& ray, Boolean prefetchOnlyNew)
You can't vote. Please authorize!
I have the same bug
Hello BDCarrillo,
Thank you for your patience. It has been some time since this issue was originally reported, and several game updates have been released since then.
At the time, we were unable to reliably reproduce the issue on our side. To ensure the issue hasn’t already been resolved in one of the recent patches, could you please update the game to the latest version (1.208) and check if the issue still occurs?
If the issue persists, please share any additional details you may have (such as latest logs). This will help us re-investigate the report and move it forward.
Thank you for your understanding, and we appreciate your help in improving the game.
Kind regards,
Keen Software House: QA Department
Hello BDCarrillo,
Thank you for your patience. It has been some time since this issue was originally reported, and several game updates have been released since then.
At the time, we were unable to reliably reproduce the issue on our side. To ensure the issue hasn’t already been resolved in one of the recent patches, could you please update the game to the latest version (1.208) and check if the issue still occurs?
If the issue persists, please share any additional details you may have (such as latest logs). This will help us re-investigate the report and move it forward.
Thank you for your understanding, and we appreciate your help in improving the game.
Kind regards,
Keen Software House: QA Department
Replies have been locked on this page!