mojira.dev
MC-275895

You can get softlocked forever in unloaded chunks when traveling in a fast minecart

When you ride a very fast minecart after a while you'll get frozen in place. You won't be able to move your camera properly and won't be able to exit the minecart. The only way to get yourself unstuck is reloading the world or using commands to die.
The internal server is still running fine and the game doesn't crash in any way, but the chunk will just never load.

Note: The reproduction world has a datapack to give it a 4000 block build height limit but that's just because that's the most efficient way I could make a reproduction setup.
Making a long line in a regular world takes several minutes with commands and the world would be too big to upload.

This can be reproduced in a regular world as well.

[media]

[media]

Reproduction Steps (If your PC is too good you might be unable to reproduce this but idk)

  • Lower your render distance to 2 chunks (the lower your render distance the more likely this is to happen)

  • Use this world

[media]
  • (Warning: Make sure you have at least 4gb ram allocated or you might face extreme lag)

  • Teleport to the top of the track

  • Ride down

Observed Result

  • You get permanently stuck "waiting for chunk"

    [media]

Expected Result

  • The chunk would eventually load and you would resume travel once it does.

Linked issues

Attachments

Comments 2

Here are my findings:

Render 2- Speed 190
2024-08-25 14-44-40.mkv
Render 12- Speed 512- Spectator Fixed
2024-08-25 14-42-02.mkv
Render 12- Speed 512- Spectator did not Fix
2024-08-25 14-48-23.mkv

Ceresjanin123

(Unassigned)

Community Consensus

Platform

Important

Chunk loading, Minecart, Player

experimental_minecart

24w34a, 24w36a, 1.21.2 Pre-Release 3, 1.21.3, 1.21.4 Release Candidate 2, 1.21.4

Retrieved