mojira.dev
MC-267951

The game freezes and eventually crashes when creating a world with the "spawnChunkRadius" gamerule set to high values

The Bug:

The game freezes and eventually crashes when creating a world with the "spawnChunkRadius" gamerule set to high values.

When attempting to create a world with the "The Void" preset and the "spawnChunkRadius" gamerule being set to 32, the world loading progress remains stuck at 0% and the game occasionally fails to respond. After waiting for around five minutes, the game eventually crashes, but no crash report is generated.

Steps to Reproduce:

  1. Navigate to the singleplayer menu and click the "Create New World" button.

  2. Select the "The Void" preset to make world loading much easier.

  3. Navigate to the game rules menu and set the "spawnChunkRadius" gamerule to 32.

  4. Click the "Create New World" button and watch how the game freezes.

Observed Behavior:

The game freezes and eventually crashes.

Expected Behavior:

The game would not freeze nor crash.

Linked issues

Attachments

Comments

[MOD] Greymagic27

From my perspective it's sounding like the game runs out of memory when trying to load a fresh world with lots of spawn chunks.

Avoma

Upon increasing the game's allocated memory, the world loading progress only remained stuck at 0% for a couple of seconds, and then the world began being created as normal. As partially mentioned by @unknown, this may have something to do with memory.

Avoma

Panda4994

Confirmed

Platform

Important

Crash

24w03b, 24w12a

24w19a

Retrieved