Asek3 / Rubidium

Rubidium is an Unofficial Fork of CaffeineMC's "Sodium", made to work with Forge Mod Loader.
GNU Lesser General Public License v3.0
119 stars 56 forks source link

NullPointerException in the FluidRenderer class of the Rubidium mod (version 0.7.1) #697

Open ilshm opened 11 months ago

ilshm commented 11 months ago

Crash Report: Pastebin

The crash report indicates a NullPointerException in the FluidRenderer class of the Rubidium mod (version 0.7.1). The specific issue is that it's trying to invoke a method on a null object (sprite). This is causing the crash during the rendering of chunk meshes, specifically when rendering lava at coordinates (86, 115, -532).

Here is the relevant part of the stack trace:

java.lang.NullPointerException: Cannot invoke "net.minecraft.client.renderer.texture.TextureAtlasSprite.m118367(double)" because "sprite" is null at me.jellysquid.mods.sodium.client.render.chunk.compile.pipeline.FluidRenderer.render(FluidRenderer.java:340) ~[rubidium-mc1.20.1-0.7.1.jar%23174!/:?] {re:mixin,re:classloading,pl:mixin:APP:mixins.oculus.compat.sodium.json:separate_ao.MixinFluidRenderer,pl:mixin:A}

ChicknTurtle commented 11 months ago

Same I thought this was fixed already. Happens when lava is next to a transparent block like leaves. crash.txt

ilshm commented 11 months ago

Same I thought this was fixed already. Happens when lava is next to a transparent block like leaves. crash.txt

Just use https://www.curseforge.com/minecraft/mc-mods/embeddium, it seems to work.