Sodium

Sodium

44M Downloads

1.16.x/next branch crashes on menu screen after latest commit

EcoBuilder13 opened this issue ยท 4 comments

commented

Reproduction Steps

When you install the build from github actions from commit 2734771 it crashes the game when you reach the title screen.

Crash Report File

Crash Log

Additional Information

Minecraft: 1.16.5
Fabric: 0.11.1
Fabric API: 0.29.4+1.16
Sodium: 2734771

commented

It seems this is compiled using java 9+, while you are running it on java 8.

commented

@Kroppeb I just built it was java 8 and it works fine. I am assuming that when gradle builds the mod on any version higher than java 9 it uses newer java features that java 8 doesn't have? (In the case of sodium) Also since the Github actions used java 14 and this seems specific to java 8 vs 9+ that if it is built with 14 it will work with java 11 for example?
Closing issue because this is caused by user error

commented

#16 explains what the issue is if you are interested.
It's not because it uses newer features, but the signature of a method changed. So it is indeed an 8 vs 9+ issue, meaning code compiled with java 14 will work with java 11.

commented

Thanks, I will keep this in mind whenever I have problems with a pre-built jar file.