[GH-ISSUE #1294] [no-server-thread] Dimension travel stalls permanently at render distance 2 #333

Closed
opened 2026-11-02 15:38:16 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @rdbtCVS on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1294

Tested commit: 83fa14e51b. Affects --no-server-thread, not a threading regression.

  1. Open a world with --no-server-thread --render-distance 2.
  2. Enter creative mode, then run execute in minecraft:the_nether run tp @s .5 100 .5.
  3. Wait for loading to finish.
  4. Raise render distance to 4.

Expected: dimension travel completes at the supported distance 2.

Actual: the local player never gets placed at distance 2. The world reaches 29 chunks with zero generating, decorating, finishing, lighting, meshing or queued work, but control state still reports no player. Earlier fresh runs remained stuck for 180 seconds, including portal travel. Raising distance to 4 restores the player. A fresh reduced run reproduced the stuck state after 15 seconds and recovery at 4. Threaded mode completes at distance 2.

Hypothesis: the old spawn_player travel branch waits for a fixed lit 5×5 area that the low-distance streaming setup does not satisfy.

Acceptance: normal portal and command dimension travel complete at render distance 2 without changing settings.

Evidence: tools/singleplayer_code_audit.py --case travel-radius, .local/singleplayer-audit/code-audit-b/travel-radius-*/; earlier run5, run7, run10. Related historical dimension issue #592 has a different symptom.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1294 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. Affects **`--no-server-thread`**, not a threading regression. 1. Open a world with `--no-server-thread --render-distance 2`. 2. Enter creative mode, then run `execute in minecraft:the_nether run tp @s .5 100 .5`. 3. Wait for loading to finish. 4. Raise render distance to 4. Expected: dimension travel completes at the supported distance 2. Actual: the local player never gets placed at distance 2. The world reaches 29 chunks with zero generating, decorating, finishing, lighting, meshing or queued work, but control state still reports no player. Earlier fresh runs remained stuck for 180 seconds, including portal travel. Raising distance to 4 restores the player. A fresh reduced run reproduced the stuck state after 15 seconds and recovery at 4. Threaded mode completes at distance 2. Hypothesis: the old `spawn_player` travel branch waits for a fixed lit 5×5 area that the low-distance streaming setup does not satisfy. Acceptance: normal portal and command dimension travel complete at render distance 2 without changing settings. Evidence: `tools/singleplayer_code_audit.py --case travel-radius`, `.local/singleplayer-audit/code-audit-b/travel-radius-*/`; earlier `run5`, `run7`, `run10`. Related historical dimension issue #592 has a different symptom.
Author
Owner

@rdbtCVS commented on GitHub (Oct 23, 2026):

--no-server-thread will eventually be removed so this can be ignored i guess.

<!-- gh-comment-id:6354105233 --> @rdbtCVS commented on GitHub (Oct 23, 2026): --no-server-thread will eventually be removed so this can be ignored i guess.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#333
No description provided.