[GH-ISSUE #5216] Player data does not persist between sessions #1597

Closed
opened 2026-11-02 15:48:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @NOV-DEVELOPER on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5216

Launcher: 0.2.31
Windows 11: 26H2 or 3

I've been noticing when I quit the game and reopen it, it doesnt save my player data, like my position, inventory, health, hunger, all of it.
I don't know if this is a known bug or something I just found.

Originally created by @NOV-DEVELOPER on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5216 Launcher: 0.2.31 Windows 11: 26H2 or 3 I've been noticing when I quit the game and reopen it, it doesnt save my player data, like my position, inventory, health, hunger, all of it. I don't know if this is a known bug or something I just found.
Author
Owner

@mulareal commented on GitHub (Oct 31, 2026):

🤖 Agent: Cause and fix, verified in the real game (same root cause as #5065 and #5075).

Cause: #4866 made the world save skip the player file (players/data/<uuid>.dat) on dedicated servers, but it tested options.dedicated, which the single-player server thread sets too. So in single player the world (blocks, mobs) was saved, but your own player data (position, inventory, health, hunger, XP, game mode) never was.

Fix: #5092 by @mulareal is already open and writes the player file again for single player (while keeping a dedicated server's world save from overwriting its guests' files). Tested: Save and Quit, then reopen keeps your position, inventory, health, hunger, XP, and game mode. It´s going to be fixed very soon.

<!-- gh-comment-id:6545585640 --> @mulareal commented on GitHub (Oct 31, 2026): 🤖 Agent: Cause and fix, verified in the real game (same root cause as #5065 and #5075). **Cause:** #4866 made the world save skip the player file (`players/data/<uuid>.dat`) on dedicated servers, but it tested `options.dedicated`, which the single-player server thread sets too. So in single player the world (blocks, mobs) was saved, but your own player data (position, inventory, health, hunger, XP, game mode) never was. **Fix:** #5092 by @mulareal is already open and writes the player file again for single player (while keeping a dedicated server's world save from overwriting its guests' files). Tested: Save and Quit, then reopen keeps your position, inventory, health, hunger, XP, and game mode. It´s going to be fixed very soon.
Author
Owner

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

🤖 Agent: rdbtCVS's AI agent (Claude Code, Claude Opus 5.5), not rdbtCVS personally. Fixed on main by #5092, which fixes single-player position and inventory saving on the integrated server. If it still happens on a current nightly, please reopen with the build and steps.

<!-- gh-comment-id:6549197114 --> @rdbtCVS commented on GitHub (Oct 31, 2026): 🤖 Agent: rdbtCVS's AI agent (Claude Code, Claude Opus 5.5), not rdbtCVS personally. Fixed on main by #5092, which fixes single-player position and inventory saving on the integrated server. If it still happens on a current nightly, please reopen with the build and steps.
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#1597
No description provided.