Architectury API (UNUSED)

Architectury API (UNUSED)

9M Downloads

NeoForge crash at startup with Java 22

mben42 opened this issue · 4 comments

commented

Hi,

I get a crash at startup with NeoForge in 1.21.1 https://paste.ee/p/VyTBT

I tested both NeoForge versions 21.1.15 and 21.1.16.

commented

Most likely not related to Architectury API - the problem is on NeoForged's side.
It uses ASM 9.5, which does not support Java 22. For that, newer ASM versions are needed.

commented

Hi,

I get a crash at startup with NeoForge in 1.21.1 https://paste.ee/p/VyTBT

I tested both NeoForge versions 21.1.15 and 21.1.16.

I was getting this too, the cause is Java type, needs to be Java 21, Java 22 breaks the mod for some reason. Needs am update to add support for Java 22

commented

Hi,
I get a crash at startup with NeoForge in 1.21.1 https://paste.ee/p/VyTBT
I tested both NeoForge versions 21.1.15 and 21.1.16.

I was getting this too, the cause is Java type, needs to be Java 21, Java 22 breaks the mod for some reason. Needs am update to add support for Java 22

Thanks, I can confirm it works with Java 21.

commented

Most likely not related to Architectury API - the problem is on NeoForged's side. It uses ASM 9.5, which does not support Java 22. For that, newer ASM versions are needed.

NeoForge starts without Architectury, I suppose it's when it tries to load the mod that the crash happens.

Thanks for your answer, I close the issue then.