I’ve encountered a recurring crash related to Valkyrien Skies 2 (version 2.3.0-beta.7).
The crash happens while sailing on a VS-built ship — after some time the game crashes with the following error:
java.lang.IllegalArgumentException: We already have a physics entity registered to id XXX
(in my case, id 782).
According to the crash log, the issue occurs at:
org.valkyrienskies.core.impl.game.ships.ShipObjectServerWorld.createPhysicsEntity
It seems like the mod tries to register a physics entity with an ID that’s already in use, which crashes the server.
The error repeats if I create a new ship or re-enter the world with an existing active VS ship.
I’m running a large modpack, but the main mods that interact with VS are:
the_vmod
vsch
vlib
drivebywire
plus some optimization mods: ModernFix, Radium, EmbeddiumPlus.
Minecraft: 1.20.1
Forge: 47.4.0
Sinytra Connector: 1.0.0-beta.46
Java: 21 (GraalVM)
OS: Windows 11 x64
I’d really appreciate it if you could clarify:
Is this a known issue or something new?
Is there a workaround or fix in a newer VS2 version?
Should I remove or update any of the related mods (vlib, vsch, etc.) to avoid this conflict?
I can provide the full crash log and world save if needed.
Thank you for your amazing work — the mod is incredible, and I’d love to help make it more stable.