[GH-ISSUE #5189] Native mods build fails due to Cyrillic characters in Windows username #1585

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

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

Originally assigned to: @socksprox on GitHub.

Version: Launcher 0.2.30 · OS: Windows (copied from the report)

What I did:
Opened the Horizon launcher and tried to compile/build native mods.

What happened:
The compilation failed with exit code: 101 during the linking stage (error: linking with x86_64-w64-mingw32-gcc failed). This happens because my Windows username contains Cyrillic characters (Кириченко Павло) and the Rust compiler cannot process non-ASCII paths. Changing APPDATA and CARGO_TARGET_DIR via symlink to C:\GamesData didn't help because the launcher's build script still points to the hardcoded C:\Users\Кириченко Павло... path.

What I expected:
The native mods should compile successfully regardless of Cyrillic characters in the Windows user profile path, or the build system should fully respect the APPDATA environment variable.

Does it happen every time?
Yes, every time I try to build native mods.

Horizon version:
Launcher 0.2.30

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

Attachments (Discord links expire after a while; the thread keeps them)

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 (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5189 Originally assigned to: @socksprox on GitHub. **Version:** Launcher 0.2.30 · **OS:** Windows <sub>(copied from the report)</sub> > What I did: > Opened the Horizon launcher and tried to compile/build native mods. > > What happened: > The compilation failed with exit code: 101 during the linking stage (error: linking with x86_64-w64-mingw32-gcc failed). This happens because my Windows username contains Cyrillic characters (Кириченко Павло) and the Rust compiler cannot process non-ASCII paths. Changing APPDATA and CARGO_TARGET_DIR via symlink to C:\GamesData didn't help because the launcher's build script still points to the hardcoded C:\Users\Кириченко Павло\... path. > > What I expected: > The native mods should compile successfully regardless of Cyrillic characters in the Windows user profile path, or the build system should fully respect the APPDATA environment variable. > > Does it happen every time? > Yes, every time I try to build native mods. > > Horizon version: > Launcher 0.2.30 Reported on Discord by **ErKasto** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1566099726779162664) Tags: crash **Attachments** (Discord links expire after a while; the thread keeps them) - [horizon-launcher_1ekJPbE0Yg.png](https://cdn.discordapp.com/attachments/1566099726779162664/1566099727618015453/horizon-launcher_1ekJPbE0Yg.png?ex=6ae74f87&is=6ae5fe07&hm=addf2f009de8176839a1c3d3f3002c7921a46ae128a18301daaf5dd71ae1d93c&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:48:11 +07:00
Author
Owner

@kira-horizon[bot] commented on GitHub (Oct 31, 2026):

ErKasto added on Discord:

Steps to reproduce:

  1. Install Horizon Launcher on a Windows system where the user account name contains Cyrillic characters (e.g., "Кириченко Павло").
  2. Go to the "Mods" page and enable the "Native mods (experimental)" feature.
  3. Click on the "Build" button.
  4. The build process fails at the linking stage because x86_64-w64-mingw32-gcc cannot properly read and parse the non-ASCII Cyrillic symbols in the C:\Users\Кириченко Павло\AppData\Roaming... path.
<!-- gh-comment-id:6545052738 --> @kira-horizon[bot] commented on GitHub (Oct 31, 2026): **ErKasto** added on Discord: > Steps to reproduce: > 1. Install Horizon Launcher on a Windows system where the user account name contains Cyrillic characters (e.g., "Кириченко Павло"). > 2. Go to the "Mods" page and enable the "Native mods (experimental)" feature. > 3. Click on the "Build" button. > 4. The build process fails at the linking stage because x86_64-w64-mingw32-gcc cannot properly read and parse the non-ASCII Cyrillic symbols in the C:\Users\Кириченко Павло\AppData\Roaming\... path. <!-- kira -->
Author
Owner

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

/claim

<!-- gh-comment-id:6545074471 --> @socksprox commented on GitHub (Oct 31, 2026): /claim
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#1585
No description provided.