DavidGmc18 / Nature_Arise_PUBLIC

1 stars 0 forks source link

Conflict with Lithium causing crash/freeze #10

Open Gamemassa opened 4 months ago

Gamemassa commented 4 months ago

Minecraft 1.21 Fabric Loader 0.16.0 Fabric API 0.100.7 Nature Arise 0.9.1 for MC 1.21

I added Nature Arise to my custom modpack, entered my SP world, opened my inventory in creative mode, and got a crash with this error message: java.lang.IllegalArgumentException: Cannot add empty stack

Crash Report https://mclo.gs/sDW7oGl

Latest.log https://mclo.gs/bectrTA

Gamemassa commented 4 months ago

Also, just to be sure, I tried accessing my inventory in Survival mode, and it didn't happen there, so I think it's only creative mode where the error is happening.

DavidGmc18 commented 4 months ago

I was unable to reproduce the issue with NA and TB only, which suggests that it might be caused by another mod. Can you think of some mod that could cause this?

Gamemassa commented 4 months ago

Well, tbh I'm not entirely sure what the error message is referring to, but I do believe I have a few mods in my modpack that affect the inventory screen, namely:

And also, I don't think Stxck changes the inventory visually, but it does allow for increasing the max stack size of lots of items, so I thought I'd link it as well just because the error message here was something about an "empty stack" (though it's possible I misunderstood that).

And if I think of any others, I'll let you know.

Gamemassa commented 4 months ago

Oh, I almost forgot Crafting Slots.

Edit: I actually don't think it's this mod because I didn't have the portable crafting tool from this mod in my inventory when the crash happened.

Gamemassa commented 4 months ago

I was unable to reproduce the issue with NA and TB only, which suggests that it might be caused by another mod. Can you think of some mod that could cause this?

A quick look through my latest.log shows this at line 5278:


5278 | [REI-ReloadPlugins/ERROR]: [REI] Failed to collect fabric's creative tab: net.minecraft.class_1761@362a009
--
5279 | java.lang.IllegalArgumentException: Cannot add empty stack

as well as at 5308 and 5366, with Nature Arise mentioned just below each of those. I wonder if REI could be the issue.

Gamemassa commented 4 months ago

I posted this in the REI issues thread as well to see if they have any insight.

DavidGmc18 commented 4 months ago

Sorry for not responding for a while; I have been on holiday. I tested NA with REI and for me it worked fine. Can you share with me modpack, so I can look at it more deeply?

Gamemassa commented 4 months ago

Sorry for not responding for a while; I have been on holiday. I tested NA with REI and for me it worked fine. Can you share with me modpack, so I can look at it more deeply?

I think the whole list is in the log files I attached. It's also a custom modpack I made so there's no Curseforge/Modrinth link for it.

DavidGmc18 commented 4 months ago

I was not able to reproduce the issue on my end. I recommend trying to disable mods in groups to identify which one might be causing the conflict with Nature Arise. If you decide to do so, please share the results with me.

Gamemassa commented 2 months ago

Sorry, I got busy for the last few weeks. The latest version, 0.9.2, seems to have partially fixed the issue, because my game is no longer crashing to desktop. However, it appears to be hanging when I open the creative inventory, and I have to force close it. Here is the latest.log for this: https://mclo.gs/xPlBX7l

Gamemassa commented 2 months ago

I was not able to reproduce the issue on my end. I recommend trying to disable mods in groups to identify which one might be causing the conflict with Nature Arise. If you decide to do so, please share the results with me.

I'm currently doing some binary testing to try to isolate the issue.

Update Lithium is the mod that was causing the issue. Updating that to the latest version also still did not fix the issue.

Gamemassa commented 2 months ago

I have notified the Lithium devs as well. We'll see what they say.

Gamemassa commented 2 months ago

@DavidGmc18 So the Lithium team had some interesting input. I'm linking the thread here.

https://github.com/CaffeineMC/lithium-fabric/issues/559#issuecomment-2323052763