AnOpenSauceDev / Methane-mod

A 1.19+ performance mod for the Fabric and Quilt modloaders.
MIT License
49 stars 11 forks source link

[Issue] Game crashes upon leaving singleplayer world or being the host of a LAN world. #101

Open yum13241 opened 6 months ago

yum13241 commented 6 months ago

🔥 Something broke!

Game crashes upon leaving singleplayer world or being the host of a LAN world. The clients of the LAN world get disconnected as normal.

Mods used.

https://mclo.gs/hGBwWZb See the "Epinephrine" modpack on Modrinth, made by me.

Methane Version?

Methane 3.8.0+1.20.6.

Possible ways to replicate this bug.

Go into a singleplayer world then press "Save and Exit to Title".

AnOpenSauceDev commented 6 months ago

In the same conditions, I cannot replicate this crash with Methane as-is. I'll check for a possible mod conflict.

yum13241 commented 4 months ago

Still happens on the 1.21 version of my modpack. Seems to be the same error too. https://mclo.gs/T5Aafj0

AnOpenSauceDev commented 4 months ago

This is probably a mod conflict with another mod that messes with how the client disconnects. Again, I cannot replicate this crash, and these all look like mods I have used before.

Rozbiynk commented 3 months ago

@yum13241 can you reopen issue? i probably know what happens. Try install "Placeholder API" or change "hudrender" to "true"

yum13241 commented 3 months ago

Where would I change "hudrender"?

Rozbiynk commented 3 months ago

in methane config

yum13241 commented 3 months ago

I'll try that once i get to my PC.

Rozbiynk commented 3 months ago

second method still cause crash, so try first

yum13241 commented 3 months ago

Same crash. Methane is choking on a null pointer while trying to handle disconnecting from the server, likely because the bool to enable Methane on startup is broken in code.