1.20.3 crash with Sodium: UnsupportedOperationException
The exception seems to be intentionally thrown by Sodium code and I can't seem to reproduce it without having Iris installed alongside it, so I figured it might be better to report this here. This is without using any shaders.
Crash report: https://mclo.gs/HjxexI1
6 Replies
Hi 👋 I'm having this issue too, originally thought it was something to do with our mod, Essential, but it turns out that that may not be completely true. It appears that because
MixinBufferBuilder
extends VertexConsumer
, a default uv2
/light
implementation is generated, which seems to go down a code-path that eventually calls one of the methods stubbed out by Sodium's createBlockedUpcallException
.
That's my analysis from the problem anyways, I'm unsure of the specifics of the new changes between Iris and Sodium so I can't offer a solution to the devs, but I'm sure they'll have something 😅
@IMS if there's any more info that you need I'll be around all day
Both mixin methods end up having equal priority in this situation, but usually the correct path is chosen
In the correct case, BufferBuilder
will end up containing:
in the incorrect case:
thanks!
i'll make a fix, but do you know a reliable way to cause the crash?
ok wow nevermind
literally just going to any snowy biome
no clue how i didn't catch that
ironically, this wasn't a default implementation
i added that for a feature, and that feature ended up being cut
and ig i just forgot to remove it
I just noticed that, yeah. We use different mappings, so the method names started throwing me off when I was trying to find it in your mixin
releasing 1.6.12 now to fix it
place your bets now on if i'll need another one
Wonderful, thank you ✨
Can confirm that Essential no longer crashes either, thanks for the quick fix IMS
no problem