[GH-ISSUE #6036] Player inventory and position are not saving on worlds (Cyrillic username bug) #1942

Open
opened 2026-11-02 15:50:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kira-horizon[bot] on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6036

Version: Launcher 0.2.33 · OS: Windows 10/11, x64 CPU, Dedicated GPU (copied from the report)

What I did:
Created a new world on Launcher 0.2.33. Moved away from the spawn point, mined 6 dirt blocks, placed them, and picked up some flowers into my inventory. Then, I exited the world to the main menu and re-entered it.

What happened:
When I re-entered the world, my inventory was completely empty and my character spawned very far away from the point where I actually logged out. However, the world modifications (the dirt wall I built and the broken flowers) were perfectly saved.

This strongly indicates that while world chunks are saving fine, the PlayerData file (coordinates and inventory) completely fails to write/save due to the same Cyrillic character encoding bug in the Windows user path (C:\Users\Кириченко Павло). The game engine fails to save player files when non-ASCII symbols are present.

What I expected:
Player inventory and exact coordinates should be properly saved and loaded upon re-entering the world.

Does it happen every time?
Yes, every time I rejoin any world.

Horizon version:
Launcher 0.2.33

OS, CPU, GPU:
Windows 10/11, x64 CPU, Dedicated GPU

Reported on Discord by ErKasto in #horizon-bugs · Discord thread
Tags: crash

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @kira-horizon[bot] on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6036 **Version:** Launcher 0.2.33 · **OS:** Windows 10/11, x64 CPU, Dedicated GPU <sub>(copied from the report)</sub> > What I did: > Created a new world on Launcher 0.2.33. Moved away from the spawn point, mined 6 dirt blocks, placed them, and picked up some flowers into my inventory. Then, I exited the world to the main menu and re-entered it. > > What happened: > When I re-entered the world, my inventory was completely empty and my character spawned very far away from the point where I actually logged out. However, the world modifications (the dirt wall I built and the broken flowers) were perfectly saved. > > This strongly indicates that while world chunks are saving fine, the PlayerData file (coordinates and inventory) completely fails to write/save due to the same Cyrillic character encoding bug in the Windows user path (C:\Users\Кириченко Павло). The game engine fails to save player files when non-ASCII symbols are present. > > What I expected: > Player inventory and exact coordinates should be properly saved and loaded upon re-entering the world. > > Does it happen every time? > Yes, every time I rejoin any world. > > Horizon version: > Launcher 0.2.33 > > OS, CPU, GPU: > Windows 10/11, x64 CPU, Dedicated GPU Reported on Discord by **ErKasto** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566466813582381096) Tags: crash <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
Author
Owner

@mariuslozo-boop commented on GitHub (Nov 1, 2026):

🤖 Agent: mariuslozo-boop's AI agent (Claude Code) tried to reproduce this on Windows 11 and could not.

  • Setup: the game folder, APPDATA and TEMP all under a path with Cyrillic letters and a space (...\cyr-Кириченко Павло\AppData\Roaming\horizon), a new single-player world.
  • Test: give 5 diamonds, teleport to 120 90 140, quit to the title screen and close the game, then start it again and open the world.
  • Result: the inventory (5 diamonds) and the position came back on both Nightly 4aa6854 and v0.2.97, and the player file was written in players/data/.
  • Player name: a Cyrillic player name can't be used to test it. --name Павло is refused with "Invalid characters in username", as in vanilla.

So in these runs the Cyrillic folder alone doesn't lose the player's data.

The symptom matches #5216 (inventory and position not kept between sessions). That one came from #4866, merged 2026-10-31 02:34 UTC, and was fixed by #5092 at 14:22 UTC the same day. A game build from between those two would show it. We don't know which game build was used here.

<!-- gh-comment-id:6560556517 --> @mariuslozo-boop commented on GitHub (Nov 1, 2026): 🤖 Agent: mariuslozo-boop's AI agent (Claude Code) tried to reproduce this on Windows 11 and could not. - **Setup:** the game folder, `APPDATA` and `TEMP` all under a path with Cyrillic letters and a space (`...\cyr-Кириченко Павло\AppData\Roaming\horizon`), a new single-player world. - **Test:** give 5 diamonds, teleport to 120 90 140, quit to the title screen and close the game, then start it again and open the world. - **Result:** the inventory (5 diamonds) and the position came back on both Nightly `4aa6854` and v0.2.97, and the player file was written in `players/data/`. - **Player name:** a Cyrillic player name can't be used to test it. `--name Павло` is refused with "Invalid characters in username", as in vanilla. So in these runs the Cyrillic folder alone doesn't lose the player's data. The symptom matches #5216 (inventory and position not kept between sessions). That one came from #4866, merged 2026-10-31 02:34 UTC, and was fixed by #5092 at 14:22 UTC the same day. A game build from between those two would show it. We don't know which game build was used here.
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#1942
No description provided.