PolyMC / PolyMC

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once (Fork of MultiMC)

Home Page:https://polymc.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vanilla Minecraft 1.20.2 failed to run on macos/arm64

runlevel5 opened this issue · comments

Operating System

macOS 14.0 (23A344) (arm64)

Hardware

MacBook Pro (16inch, 2021) Apple M1 Pro

Version of PolyMC

PolyMC 5.1
Commit: 59fa701
Channel: 59fa701

Version of Qt

Qt 6.3.0

Description of bug

Got error:

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl.dylib [in thread "Render thread"]

Steps to reproduce

Simply add a new instance of vanilla 1.20.2 then start the game

Suspected cause

Definitely related to LWJGL 3.3.2 (specficially to macos-arm64 build)

This issue does NOT occur if I customise LWJGL to use 3.3.1 macos-arm64

I speculate this might be a bug with LWJGL but not entirely sure because the official stock Minecraft launcher does not run into the same issue. However I still reported the error upstream at LWJGL/lwjgl3#926 in hope the core team would provide further guidance.

Perhaps PolyMC could advise or change LWJGL to 3.3.1 for 1.20.2 profile by default?

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.

The 1.20.2 plays perfectly with Prism Launcher

The LWJGL has confirmed this issue is likely that of PolyMC

btw if you get out of fullscreen it fixes it. I did it and it worked

I'm not fully convinced this is a PolyMC issue, but in the case it is the LWJGL solution looks rather overcomplicated. Might revisit this soon