[GH-ISSUE #1382] [server-thread] Newly created maps remain blank and save no explored pixels #408

Closed
opened 2026-11-02 15:38:51 +07:00 by bsakaguchi · 0 comments
Owner

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

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d, Linux/Vulkan, two equivalent fresh world pairs with explicit mode flags.

Reproduce with --server-thread:

  1. Stand outdoors on loaded terrain and /give @s map.
  2. Select the empty map and right-click to create it.
  3. Keep holding it for at least eight seconds, then look down at it.

Expected: the map reveals nearby terrain and shows the player marker, as with --no-server-thread.

Actual: the filled map remains blank. This is also missing authoritative map data, not merely a held-item texture problem.

Evidence: .local/singleplayer-audit/ui-{a,b}/maps-*/held-map.png. Saved data/minecraft/maps/0.dat has 16,384 pixels: old mode has 16,128 nonzero pixels; threaded has zero, in both pairs. The corrected ui-b result records these counts. Initial ui-a's result used a wrong glob; its saved files were inspected directly instead.

Hypothesis: map updating requires the local Game::player, absent on the server thread, and guest map updates are not supplied separately.

Acceptance: threaded maps populate, display and persist explored terrain and player markers while carried, including after reopening.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1382 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`, Linux/Vulkan, two equivalent fresh world pairs with explicit mode flags. Reproduce with `--server-thread`: 1. Stand outdoors on loaded terrain and `/give @s map`. 2. Select the empty map and right-click to create it. 3. Keep holding it for at least eight seconds, then look down at it. Expected: the map reveals nearby terrain and shows the player marker, as with `--no-server-thread`. Actual: the filled map remains blank. This is also missing authoritative map data, not merely a held-item texture problem. Evidence: `.local/singleplayer-audit/ui-{a,b}/maps-*/held-map.png`. Saved `data/minecraft/maps/0.dat` has 16,384 pixels: old mode has 16,128 nonzero pixels; threaded has zero, in both pairs. The corrected ui-b result records these counts. Initial ui-a's result used a wrong glob; its saved files were inspected directly instead. Hypothesis: map updating requires the local Game::player, absent on the server thread, and guest map updates are not supplied separately. Acceptance: threaded maps populate, display and persist explored terrain and player markers while carried, including after reopening.
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#408
No description provided.