[GH-ISSUE #41] Issue: Horizon asking for a MacOS library on Linux #3

Closed
opened 2026-11-02 15:35:24 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/41

What I did: I ran 'python3 tools/prepare_native_client.py --prepare --server-jar /home/user/Downloads/server.jar'
What happened: I got the following error:
'''
FileNotFoundError: Missing /home/user/.minecraft/libraries/ca/weblite/java-objc-bridge/1.1/java-objc-bridge-1.1.jar. Horizon does not download the game: install Minecraft Java Edition with the official launcher, play 26.3 once, then rerun. If the launcher uses another game directory, pass --minecraft-dir or set HORIZON_MINECRAFT_DIR.'''
What I expected: Horizon should not look for a MacOS library on Linux.
Horizon version: release v2026.10.12
OS, CPU, GPU: Arch Linux running KDE Wayland, 12700k, 1660s

Reported on Discord by Cosmic in #horizon-bugs · Discord thread
Tags: install / launch

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

Originally created by @ludovic111 on GitHub (Oct 13, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/41 > What I did: I ran 'python3 tools/prepare_native_client.py --prepare --server-jar /home/user/Downloads/server.jar' > What happened: I got the following error: > ''' > FileNotFoundError: Missing /home/user/.minecraft/libraries/ca/weblite/java-objc-bridge/1.1/java-objc-bridge-1.1.jar. Horizon does not download the game: install Minecraft Java Edition with the official launcher, play 26.3 once, then rerun. If the launcher uses another game directory, pass --minecraft-dir or set HORIZON_MINECRAFT_DIR.''' > What I expected: Horizon should not look for a MacOS library on Linux. > Horizon version: release v2026.10.12 > OS, CPU, GPU: Arch Linux running KDE Wayland, 12700k, 1660s Reported on Discord by **Cosmic** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1559352257059881080) Tags: install / launch <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:35:24 +07:00
Author
Owner

@ludovic111 commented on GitHub (Oct 13, 2026):

Cosmic added on Discord:

Here's what GPT said after fixing it for me:

> lab.prepare() imports every client library from the version manifest without respecting its platform rules. On Linux, this fails on ca.weblite:java-objc-bridge:1.1, which is marked macOS-only
> and therefore isn’t downloaded by the official launcher.
> I reused Horizon’s existing library_allowed() and native_library_matches() logic so preparation imports only libraries appropriate for the current OS and CPU architecture. I applied the same
> filtering to tools/test_model_baking_parity.py, which otherwise encounters the same problem later. Required libraries still undergo checksum verification; missing required files still cause
> errors.
> After that f​ix, preparation exposed a separate stale manifest pin. I updated research-lock.json from 4fe1aa1ef8da1cb95c5bad1fb98890ca56dd8ca3 to 702fe59163c6ee6578607daa85811d9bc9c7cc40.
> Comparing the two official 26.3 manifests showed only an asset-index change—the client/server jars and library list were unchanged.
> Added regression coverage; all 156 offline tests passed, and full native-client resource preparation completed successfully.

<!-- gh-comment-id:6151138794 --> @ludovic111 commented on GitHub (Oct 13, 2026): **Cosmic** added on Discord: > Here's what GPT said after fixing it for me: > > &gt; lab.prepare() imports every client library from the version manifest without respecting its platform rules. On Linux, this fails on ca.weblite:java-objc-bridge:1.1, which is marked macOS-only > &gt; and therefore isn’t downloaded by the official launcher. > &gt; I reused Horizon’s existing library_allowed() and native_library_matches() logic so preparation imports only libraries appropriate for the current OS and CPU architecture. I applied the same > &gt; filtering to tools/test_model_baking_parity.py, which otherwise encounters the same problem later. Required libraries still undergo checksum verification; missing required files still cause > &gt; errors. > &gt; After that f​ix, preparation exposed a separate stale manifest pin. I updated research-lock.json from 4fe1aa1ef8da1cb95c5bad1fb98890ca56dd8ca3 to 702fe59163c6ee6578607daa85811d9bc9c7cc40. > &gt; Comparing the two official 26.3 manifests showed only an asset-index change—the client/server jars and library list were unchanged. > &gt; Added regression coverage; all 156 offline tests passed, and full native-client resource preparation completed successfully. <!-- kira -->
Author
Owner

@ludovic111 commented on GitHub (Oct 13, 2026):

A fix is in progress on branch prepare-fix and will ship in the next release.

<!-- gh-comment-id:6151139140 --> @ludovic111 commented on GitHub (Oct 13, 2026): A fix is in progress on branch prepare-fix and will ship in the next release. <!-- kira -->
Author
Owner

@ludovic111 commented on GitHub (Oct 13, 2026):

Cosmic added on Discord:

would you be open to contribution or would you rather i report bugs

<!-- gh-comment-id:6151451813 --> @ludovic111 commented on GitHub (Oct 13, 2026): **Cosmic** added on Discord: > would you be open to contribution or would you rather i report bugs <!-- kira -->
Author
Owner

@ludovic111 commented on GitHub (Oct 13, 2026):

Cosmic added on Discord:

[F​IXED] Issue: Horizon asking for a MacOS library on Linux

<!-- gh-comment-id:6157490855 --> @ludovic111 commented on GitHub (Oct 13, 2026): **Cosmic** added on Discord: > [F​IXED] Issue: Horizon asking for a MacOS library on Linux <!-- kira -->
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#3
No description provided.