-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash Upon Loading Singleplayer World #58
Comments
The issue is with Optifine, the logged message just before the crash gives a hint:
I'll need to test with Optifine again and figure out what hacky nonsense it's doing now, and how to work around it. |
While that warning does occur, even with Optifine disabled the error is sent. Here is the log file without Optifine enabled. https://paste.ee/p/Zoy47 EDIT: The mod causing the problem is 5zig Reborn. |
It's strange that 5zig would be causing the issue, as it uses |
Can you try using AdoptOpenJDK Hotspot instead of OpenJ9? It shouldn't make a difference... but it might? |
That did not work either. Here is the log: https://paste.ee/p/1RrNh |
Okay, I think I have found the culprit. Through a bit of trial and error, it looks like ViaFabric and 5zig Reborn together cause the error. Logs: |
Thanks so much for narrowing it down to those two mods! I'll read through the code of each of them and see if I can understand how they would interact to cause this issue. |
Here's my preliminary guess as to what might be happening: The specific combination of mods you're using causes Fabric to load them in a certain order (5zip Reborn first, then MumbleLink). Loading 5zip Reborn before MumbleLink is an issue because when MumbleLink is initialized, it sets the |
I've tracked down where it's being called in 5zip Reborn.
My new theory is using even more reflection hacks to "reset" the initialized The real question is: why is headless mode even enabled by default for you?As a quick workaround, you can add the flag |
Here's a test build (in a zip) that has the more aggressive reflection hacks: fabric-mumblelink-mod-0.7.6.zip Can you test it out and see if it fixes your issue? It seems like it works in my dev environment. |
Here's another test build that might work better in some cases! fabric-mumblelink-mod-0.7.6.zip I'm fairly confident that this build will work, so I'm preparing a full release as soon as you have a chance to test the fix. |
I tested and this works well. I do not see any problems.
This one also works but I am getting a warning which does not appear in the first test build. Here is the error I am getting when starting Minecraft:
|
I think that's being caused by the The value is null because in the 1.16 version-specific code, the |
Describe The Bug
Whenever I start a singleplayer world (newly created or old world), my game crashes because "Desktop API is not supported on the current platform"
To Reproduce Steps
Version Information
My Mods
Additional Context
All of my mods work together when MumbleLink is not loaded. I can go through each mod to see if I can find the problem, but that will take quite a bit of time, which I do not have at the time of writing this issue. The outputted error link is: https://paste.ee/p/Ncttt
The text was updated successfully, but these errors were encountered: