mojira.dev
MC-248926

Setting "spectatorsGenerateChunks" to false and relogging freezes the game on the Loading Terrain screen

This is bad. I was trying to spectate my hardcore world after dying, but got stuck in unloaded chunks at my respawn point. Due to this gamerule being set to false when you die in hardcore, I thought to exit out of the world, turn on cheats, and force the chunks around me to load. Because I couldn't load any chunks, my hardcore world cannot load, thus freezing the game at the "loading terrain" screen, which softlocks the game.

How to reproduce

  1. Die in hardcore. Make sure your death point and spawnpoint are far away from each other.

  2. If you get trapped in unloaded chunks, relog from the world. If not, open the world to LAN amd try again.

  3. Try to open the world.

  4. Sit in your chair for the rest of forever waiting for your world to load.

Linked issues

MC-249829 World stuck on loading terrain Resolved MC-250570 After Dying In Hardcore in Nether World is Stuck On Loading Terrain. . . Resolved MC-252666 When loged out as Spectator on a Server and join again hang at loading terrain and stays there until killing the process Resolved MC-253007 world loading issue Resolved MC-253008 world loading issue Resolved

Comments 2

Core issue is MC-157812, fixing that will fix this.

Finally.. This bug was such a roadblock when it came to debugging mob farms and chunk loading. thanks for fixing this.

migrated

Panda4994

Confirmed

Very Important

Chunk loading, Crash

chunk-loading, softlock, spectatorsGenerateChunks

1.18.2, 22w11a, 22w12a, 22w13a, 1.19 Pre-release 3, 1.19 Pre-release 5, 1.19, 1.19.1 Pre-release 4, 1.19.2

22w46a

Retrieved