GregTechCEu / GregTech-Modern

GregTech CE Unofficial for modern versions
GNU Lesser General Public License v3.0
272 stars 163 forks source link

Crash game after join to the world (JEI compability) #1582

Closed dians1s closed 2 months ago

dians1s commented 2 months ago

Checked for existing issues

Tested latest version

GregTech CEu Version

v1.3.1

Minecraft Version

1.20.1

Recipe Viewer Installed

JEI

Environment

Singleplayer

Cross-Mod Interaction

Yes

Other Installed Mods

JEI v15.8.0.14

Expected Behavior

Join to the world

Actual Behavior

Crash game

Steps to Reproduce

Install JEI and GTCEU the latest version. Create World and get crash.

Additional Information

Everything works well on gtceu version 1.2.2a, it was updated to 1.3.1 and started to crash when entering the world.

Here are the key points from the bug report: GregTech (gtceu): Version: 1.3.1 The error occurs in the GTOreVeinInfoCategory class on line 41. The problem is related to the registerRecipes method.

Just Enough Items (jei): Version: 15.3.0.4 The error occurs in the PluginLoader class on line 146. The problem is related to the createRecipeManager method. The main reason for the error is related to Mixin and InjectionError in the monazite fashion:

Error: Critical injection failure: Callback method setupText(Lcom/gregtechceu/gtceu/api/data/worldgen/GTOreDefinition;Lorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V in monazite.mixins.json:gtm.GTOreVeinWidgetMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap monazite-1.20.1-refmap.json.

qwer523 commented 2 months ago

Do not use monazite, it has already been merged into GTM

dians1s commented 2 months ago

Do not use monazite, it has already been merged into GTM

Not work, i get crash with only JEI, with REI or delete JEI not problems

dians1s commented 2 months ago

I even tried it on one of the builds, catching join to the world and have saving world -> crash on version 1.3.1. The crashlog: crash-2024-07-16_12.59.14-client.txt

Mindcool25 commented 2 months ago

I'm running into the same issue, I can confirm that it crashes with a minimal setup with just JEI and GregTech installed on 1.20.1. I'll attache the crash report as well. The error seems to be different than the error in this issue but with similar symptoms. Edit: Just tried with REI, seems to work with that just fine.

Lucky69420 commented 2 months ago

same problem here only JEI and gregtech crashing when joining word

KavisCorea commented 2 months ago

Going to follow up here saying that I believe I'm also having this issue in my modpack, I think my logs also point towards gregtech crashing with JEI being present. Although considering all my mods the issue I'm having could be different. But it crashes once I create the world as with everyone else here.

crash-2024-07-20_02.21.00-client.txt latest.log

Hehehe11r commented 2 months ago

It happened to me too. My solution was to add a mod called "LowDragLib". It worked successfully. Its Curseforge homepage: https://www.curseforge.com/minecraft/mc-mods/ldlib

kazimir-solan commented 1 month ago

I am not sure why this is closed. I am still encountering this error with a minimal setup consisting of GT 1.3.1, JEI 15.12.3.54, and LDLib 1.0.26.b. crash-2024-08-18_14.29.38-fml.txt

screret commented 1 month ago

because it's fixed.

kazimir-solan commented 1 month ago

Well it sure doesn't seem to be.

screret commented 1 month ago

well it is. in the development builds.