cech12 / ExtendedMushrooms

Minecraft Forge Mod for an extended usage of mushrooms
https://www.curseforge.com/minecraft/mc-mods/extended-mushrooms
MIT License
1 stars 4 forks source link

[Bug]: Crash when opening inventory #87

Closed cal1407 closed 5 months ago

cal1407 commented 5 months ago

Minecraft Version

1.20.1

Forge Version

47.2.30

Mod Version

4.1.2.0

Modpack or other Mod

No response

Describe the Issue

The game would randomly crash when opening the inventory, with the crash report pinpointing to this mod.

Logs

https://pastebin.com/7xnBuyCQ

Do you use any performance-enhancing mods (e.g. OptiFine)?

No response

cech12 commented 5 months ago

Thanks for your report! It seems to be a compatibility issue with the Sawmill mod. I opened an issue there to fix crashing the game: https://github.com/MehVahdJukaar/sawmill/issues/43 The compatibility issue with Sawmill/Moonlight will be fixed (hopefully) when I have time. :)

Related issue: #82

cech12 commented 5 months ago

Unfortunately I could not reproduce your issue. I found a possible root of your crash and the upcoming release 1.20.1-4.1.3.1 contains a fix, that hopefully fixes your issue. Please test it and let me know, if the game is still crashing in your environment.

cal1407 commented 5 months ago

Hi, the game would still crash from time to time, but I do notice that the frequency of the crash is much rarer compared to the previous versions

cech12 commented 5 months ago

That is really weird. Are you playing a mod pack or is that an own collection of mods? Could you add some more of your crash logs?

cal1407 commented 5 months ago

Here you go.

Crash log: https://pastebin.com/WN4tqrsP Truncated log: https://pastebin.com/dGWNiu1b

cech12 commented 5 months ago

Are you using Forge and Fabric mods together? How is that possible?^^ Maybe there is a mod that changes the item & block registry in such a way that this issue arises.

cal1407 commented 5 months ago

I do use Sinytra's Connector, which allows Fabric mods to run on Forge. Maybe that's the cause of the crash?

cech12 commented 5 months ago

Maybe :) Could you try removing it and test if the crash is still there without it and the fabric mods?

cech12 commented 5 months ago

@cal1407 Could you test it already? :)

cal1407 commented 5 months ago

Sorry for the delay. Was gonna tell you that the crash is gone but ironically it happened again just now not long after you messaged me.

So I tried removing most of my mods except for sawmill, extended mushroom and connectors and the game worked just fine. Next I tried loading all the fabric mods I have along with extended mushroom and sawmill and it also worked just fine. To conclude, I think it unlikely that connectors and/or other fabric mods are the culprit.

cech12 commented 5 months ago

It would be great if you could try to find out which of your used mods is causing these crashes. You could try to force the crash when you open the villager trades for the sawmill job in jei. (as I could expect from all I can see in your craah logs)

cal1407 commented 5 months ago

I tried loading my Fabric mods one by one, but I am unable to reproduce the crash. You can just close the rep since the crash does not happen that often anyway.

cech12 commented 5 months ago

Ok I will close this issue. If you have another issue please feel free to open a new issue here. Thanks for your report :)

cech12 commented 4 months ago

@cal1407 Last week a new version (1.20-1.4.1) of Sawmill was released and the error details were extended. When you install it and post another crashlog when the crash arises, we could see more. :)