mojira.dev
MC-313857

Trying to optimize a world with invalid data pack files removes it from the world selection screen

If a world contains invalid data pack files (ones that would prevent opening the world), trying to optimize it fails and removes it from the world selection screen until the game is closed.

How to reproduce:

The attached world ([mediaInline]) contains a data pack with an invalid advancement.

  1. Download the attached world and put it in your installation’s saves folder.

  2. Select the world in the world selection screen.

  3. Go to Edit → Optimize World and select “I Know What I’m Doing!”.
    -> ❌ The game returns to the title screen.

  4. Click “Singleplayer.”
    -> ❌ The world no longer appears.

Expected result:

The game would gracefully stop trying to optimize a world when it finds invalid data pack files in it (and maybe show the data pack load failure screen).

Observed result:

The game returns to the title screen when trying to optimize a world with invalid data pack files and keeps the folder locked, resulting in the world disappearing from the world selection screen.

Attachments

Comments 0

No comments.

[Mod] ManosSef

(Unassigned)

Plausible

26.3, 26.4 Release Candidate 1

Retrieved