CaffeineMC / lithium-fabric

A Fabric mod designed to improve the general performance of Minecraft without breaking things
GNU Lesser General Public License v3.0
1.94k stars 188 forks source link

[1.21 Fabric] Just Crashes #555

Open ToneyFoxxy opened 2 months ago

ToneyFoxxy commented 2 months ago

Version:

lithium-fabric-mc1.21-0.13.0

Reproduction Steps:

  1. Launch the game with Lithium installed

Crash Report File:

https://gist.github.com/ToneyFoxxy/52a8bf88a10ee361c69f70305dfcf52a#file-gistfile1-txt

Additional Information:

I'm running Artix Linux on the XanMod kernel Edit: Working currently on 1.20.2 (lithium-fabric-mc1.20.2-0.12.0)

2No2Name commented 2 months ago

Workaround: Add the line mixin.minimal_nonvanilla.world.block_entity_ticking.support_cache=false to the lithium.properties in the config folder in the minecraft folder.

ToneyFoxxy commented 2 months ago

Workaround: Add the line mixin.minimal_nonvanilla.world.block_entity_ticking.support_cache=false to the lithium.properties in the config folder in the minecraft folder.

Still crashes https://gist.github.com/ToneyFoxxy/e3cff8f8372d69bb8c0599b3ec41835f#file-gistfile1-txt

ToneyFoxxy commented 2 months ago

Also crashes on my brother's PC which is running Endeavour OS

wilebaldo commented 2 months ago

I have the same problem I'm playing on MacOS and with PrismLauncher, is crash with the lithium 0.13 for minecraft 1.21, but with the version of Lithium 0.12.7 the game is working without a problem.

this is my crash file. crash-2024-08-21_20.04.19-client.txt

ClassyElm commented 2 months ago

Workaround: Add the line mixin.minimal_nonvanilla.world.block_entity_ticking.support_cache=false to the lithium.properties in the config folder in the minecraft folder.

Still crashes https://gist.github.com/ToneyFoxxy/e3cff8f8372d69bb8c0599b3ec41835f#file-gistfile1-txt

@ToneyFoxxy, try also adding this line to the config: mixin.block.hopper=false https://github.com/CaffeineMC/lithium-fabric/blob/1.21/lithium-mixin-config.md#mixinblockhopper

ToneyFoxxy commented 2 months ago

@ClassyElm That one works on it's own, thanks

zarunet commented 2 months ago

Can confirm on 1.21.1-0.13.0. Same crashes with only Lithium installed. Had to disable both mixins mentioned above.

Running Ubuntu 24.04 on the default kernel, if that helps.

2No2Name commented 2 months ago

I think some users had this issue when changing their game version without creating a new profile in their custom minecraft launcher. It is currently unclear why this issue happens

zarunet commented 2 months ago

I did upgrade Minecraft in-place from 1.21.0 to 1.21.1. Will try to recreate a profile when i get back to my computer next wednesday

Earthcomputer commented 2 months ago

Ideally when you do something like that it's good to check it works on the officially supported version before creating an issue on GitHub.

2No2Name commented 2 months ago

I don't think it is expected that changing the version in a minecraft launcher behaves differently from creating an equivalent profile with the new version

idscic commented 2 months ago

i

I think some users had this issue when changing their game version without creating a new profile in their custom minecraft launcher. It is currently unclear why this issue happens

seconded, updating in place instead of new profile causes crash however fresh instance does not cause a game crash

willrun4fun commented 2 months ago

Fixed my issue as well. Works on fresh profile. It wasn't to much hassle to pull over my xaeros maps and a few other UI mod configs and I'm good now.

MrPacha23 commented 2 months ago

Hi, I'm trying to use it on Windows 11 and it crashes, I tried the lines you sent previously but it didn't work

crash-2024-09-14_11.07.41-client.txt

deiphiz commented 2 months ago

Chiming in here as a Prism Launcher user. I also had this same issue at first, and upon hearing people had it fixed by creating a new profile/instance it led me to see if there's some sort of cache or old option I had to delete. Turns out there was.

Just got to delete the .minecraft/.fabric folder in the instance. The launcher will rebuild all the mappings and whatnot on launch and it should start working just like a fresh instance.

MrPacha23 commented 2 months ago

Chiming in here as a Prism Launcher user. I also had this same issue at first, and upon hearing people had it fixed by creating a new profile/instance it led me to see if there's some sort of cache or old option I had to delete. Turns out there was.

Just got to delete the .minecraft/.fabric folder in the instance. The launcher will rebuild all the mappings and whatnot on launch and it should start working just like a fresh instance.

That didn't work for me either, I play on Mojang launcher

deiphiz commented 2 months ago

Chiming in here as a Prism Launcher user. I also had this same issue at first, and upon hearing people had it fixed by creating a new profile/instance it led me to see if there's some sort of cache or old option I had to delete. Turns out there was. Just got to delete the .minecraft/.fabric folder in the instance. The launcher will rebuild all the mappings and whatnot on launch and it should start working just like a fresh instance.

That didn't work for me either, I play on Mojang launcher

The error in your crash log is related to carpet, not Lithium.

MrPacha23 commented 2 months ago

Chiming in here as a Prism Launcher user. I also had this same issue at first, and upon hearing people had it fixed by creating a new profile/instance it led me to see if there's some sort of cache or old option I had to delete. Turns out there was. Just got to delete the .minecraft/.fabric folder in the instance. The launcher will rebuild all the mappings and whatnot on launch and it should start working just like a fresh instance.

That didn't work for me either, I play on Mojang launcher

The error in your crash log is related to carpet, not Lithium.

Is it known if there is any incompatibility between these mods?

zarunet commented 1 month ago

Chiming in here as a Prism Launcher user. I also had this same issue at first, and upon hearing people had it fixed by creating a new profile/instance it led me to see if there's some sort of cache or old option I had to delete. Turns out there was.

Just got to delete the .minecraft/.fabric folder in the instance. The launcher will rebuild all the mappings and whatnot on launch and it should start working just like a fresh instance.

Can confirm this worked for me! It thus appears that the way forward would be for fabric to purge this cache whenever its version changes. This would probably be better suited as a feature request on fabric-launcher's side tho.

owowed commented 1 month ago

I may found a fix while upgrading my Prism Launcher instance to 1.21.1.

The previous solution deleting .minecraft/.fabric did not work for me, so I had to search for other things in my instance.

Turns out, when you change your Minecraft version to 1.21.1, the launcher does not automatically change the "Intermediary Mappings" version to 1.21.1. So I changed that too, and voila, my Minecraft 1.21.1 launched just fine with Lithium.