CullLeaves icon indicating copy to clipboard operation
CullLeaves copied to clipboard

BufferUnderflowException with leaves quality fancy and enabled cull leaves

Open eszdman opened this issue 1 year ago • 2 comments

Hardware:

  • Ryzen 5600
  • 24GB RAM (allocated 8gb 30% used)
  • RX580 8GB

Crash:

java.nio.BufferUnderflowException: null
	at me.jellysquid.mods.sodium.client.gl.util.MultiDrawBatch$UnsafeMultiDrawBatch.add(MultiDrawBatch.java:155) ~[sodium-fabric-mc1.19.2-0.4.4+build.18.jar:?]
	at me.jellysquid.mods.sodium.client.render.chunk.RegionChunkRenderer.addDrawCall(RegionChunkRenderer.java:190) ~[sodium-fabric-mc1.19.2-0.4.4+build.18.jar:?]
	at me.jellysquid.mods.sodium.client.render.chunk.RegionChunkRenderer.redirect$cam000$cullleaves$fixTransparentBlockFaceCulling(RegionChunkRenderer.java:2063) ~[sodium-fabric-mc1.19.2-0.4.4+build.18.jar:?]

Versions:

  • Sodium 1.19.2-0.4.4+build.18
  • Minecraft 1.19.2
  • CullLeaves latest 3.0.1

Full log if necessary: latest.log

eszdman avatar Mar 12 '23 11:03 eszdman

I'm not sure if you are still having this issue but on version 3.0.3 changing the config to the below fixed it for me

{
  "enabled": true,
  "sodiumBlockFaceCullingFix": false
}

Commander07 avatar Mar 31 '23 09:03 Commander07

This did not fix it for me and i am experiencing this same issue on 1.19.X Forge

LKD-PIX avatar Sep 30 '23 17:09 LKD-PIX

@Commander07's solution solved it for me in version 3.0.1, mc 1.19.2

xilenasu avatar Dec 29 '24 18:12 xilenasu