[BUG] Coloured water crashes the game on rendering with Colormatic
SplendidAlakey opened this issue · 8 comments
Describe the bug
Placing down coloured water will crash the game. Generating a chunk that has a coloured lake in it will crash the game. If Sodium+Indium are installed, then the game simply won't render the entire chunk that has the coloured water in it.
To Reproduce:
- Install the mod and Colormatic, create a new world
- If you are lucky, there won't be any coloured lakes generated near you and you will be able to spawn; otherwise, instant crash or fall through void indefinitely
- If you managed to spawn without any lakes around you, just teleport or fly to a chunk that has a coloured lake; as soon as the chunk attempts to render, the game will crash
- Alternatively, grab a bucket of coloured water from a creative inventory and right-click the ground anywhere
Expected behavior
Coloured water shouldn't crash the game.
Versions (DO NOT USE "LATEST"! I STEAL YOUR KNEE CAPS!):
- Minecraft Version: 1.18.2
- Modloader
- [❌] Forge
- [✅] Fabric
- Mod Loader Version: 0.14.4
- Mod Version: 1.2.2
- RGBLib Version [If installed]: -
- [✅] Client Side
- [✅] Server Side
Crash Report
https://gist.github.com/Footage2-Amply-Pounce/13baea13f5b4e3993c370f1ac04581ad
Hmm interesting. Thanks for the report, I'll look into this. You should be able to disable colored water generation in the config for now
Yep, I always had it disabled, so not a big deal for me. I just happened to uncover the bug when dealing with another issue and resetting all my configs to default, which caused lakes to start generating.
I'm having one of my contributors look into this. I suspect the compat code we added for Optifine is causing problems with sodium
Just some feedback, we are able to reproduce the issue with just colormatic installed. Looking into what the cause is and getting it fixed
Yeah the crash happens with just Colormatic. Sodium actually prevents the crash by not rendering the chunk with coloured water in it at all for some reason.
Yeah I think sodium stops rendering chunks that have problems, to prevent performance issues
Okay for now this seems to be an issue with Colormatic itself. I have opened a bug report, so I'll update once I get feedback from them :)
For reference: #94