AnOpenSauceDev / FastRandom

An optimized rewrite of Minecraft's RNG system, for Fabric!
Apache License 2.0
48 stars 3 forks source link

Sodium incompatibility/Vanilla crash on startup #30

Closed theprodigy2013 closed 9 months ago

theprodigy2013 commented 9 months ago

[1.20.1] Both new versions, 3.0.0 and 3.0.1 are incompatible with the 0.5.8 Sodium Log: https://mclo.gs/08oykVt

theprodigy2013 commented 9 months ago

Also without Sodium it seems to crash the game on launch. Log: https://mclo.gs/4LBcvmg

Steveplays28 commented 9 months ago

You're using a JVM which doesn't implement the L64X128MixRandom RandomGenerator. Could you try using a different JDK/JRE, such as GraalVM?

theprodigy2013 commented 9 months ago

Yeah, works just fine with GraalVM, had an Adoptium distro before. So this version is incompatible with Adoptium distros?

Steveplays28 commented 9 months ago

Maybe you specifically need a specific version of OpenJDK? Not sure myself, I'll do some investigating.

Might be worth adding a better warning/disabling the mod if an unsupported JDK is detected. I opened #31 for this.

AnOpenSauceDev commented 9 months ago

Interesting, I thought LXM was part of the Java 17 standard? I'll add a disclaimer the modrinth page.

AnOpenSauceDev commented 9 months ago

Yeah, works just fine with GraalVM, had an Adoptium distro before. So this version is incompatible with Adoptium distros?

Actually, no? Turns out I was using an even older version of Adoptium on my computer, yet it works fine both in- and outside of development environments. No idea what's going on there.

theprodigy2013 commented 9 months ago

I was using JRE as it's a bit lighter than JDK, out of the box distro, no tweaks no changes. I tried disabling all JVM arguments but the outcome was the same.