Methane-mod icon indicating copy to clipboard operation
Methane-mod copied to clipboard

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

Open yum13241 opened this issue 1 year ago • 9 comments

🔥 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".

yum13241 avatar Jun 01 '24 08:06 yum13241

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

AnOpenSauceDev avatar Jun 01 '24 09:06 AnOpenSauceDev

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

yum13241 avatar Jul 10 '24 16:07 yum13241

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.

AnOpenSauceDev avatar Jul 11 '24 01:07 AnOpenSauceDev

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

Rozbiynk avatar Aug 15 '24 07:08 Rozbiynk

Where would I change "hudrender"?

yum13241 avatar Aug 15 '24 12:08 yum13241

in methane config

Rozbiynk avatar Aug 15 '24 13:08 Rozbiynk

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

yum13241 avatar Aug 16 '24 10:08 yum13241

second method still cause crash, so try first

Rozbiynk avatar Aug 16 '24 12:08 Rozbiynk

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.

yum13241 avatar Aug 18 '24 14:08 yum13241