Skip to content

World crash due to missing coordinate validation #459

@pavel1992x

Description

@pavel1992x

Description

Subject: World Crash Loop: Teleporting to a deleted Sub-level coordinate causes fatal server error

Environment:

  • Minecraft Version: 1.21.1
  • Loader: NeoForge
  • Core Mods: Sable, Create Aeronautics, Vista

Description:
I have discovered a critical issue that leads to a permanent "crash loop" of the world save. The crash occurs when a player teleports to technical coordinates previously occupied by a Sable sub-level that has been deleted.

Steps to Reproduce:

  1. Create a physics-based structure using Create Aeronautics/Sable.
  2. Place a camera from the Vista mod onto this structure.
  3. Link a Hollow Cassette to that camera (the cassette now stores sub-level coordinates, often around 20,000,000 blocks away).
  4. Delete the physics structure using the Aeronautics Toolgun. This action successfully removes the structure and its associated sub-level.
  5. Teleport the player character to the coordinates still stored on the Hollow Cassette.
  6. Result: The player teleports into a void where no chunks are generated. After a few seconds of falling, the internal server shuts down with a FATAL error.
  7. The Loop: The world becomes unplayable because the player is saved in a non-existent coordinate space, causing the game to crash immediately upon loading the save.

Expected Behavior:
The engine should verify the existence of the sub-level before completing the teleport. If the sub-level is missing, the player should be redirected to the Overworld spawn or prevented from teleporting to avoid a state where the player entity exists in "undefined" space.

Actual Behavior:
The server encounters a fatal exception because it cannot handle a player entity in a coordinate range that no longer has an active sub-level or standard world generation.

Additional Notes:
I performed a comparative test with Valkyrien Skies. In a similar scenario, VS handles this gracefully by redirecting the player back to the main world coordinates, preventing the crash.

latest.log

latest.log

Game Log

https://mclo.gs/SOaYKqE

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions