Open frosthuuuund opened 2 weeks ago
I think this problem is related to a regression in Minecraft 1.21 itself, as the chunks don't seem to get unloaded there either. Unfortunately, it would seem Sodium exacerbates the issue, because it will only unload geometry when the chunks themselves are unloaded, and not when they fall out of the render distance.
We might need to rework things to address this.
Alright after the additional testing i got next information:
Bug Description
The Sodium installed causing clientsided chunks leak either by itself or makes it much noticeable. Below i attached screenshot which illustrates the problem.![image](https://github.com/CaffeineMC/sodium-fabric/assets/174178570/7dc40f20-7b69-4737-84ed-114fd8e71604)
The amount of chunks on vanilla is a bit above from the starting point, but fairly enough to not set off the alarm.![image](https://github.com/CaffeineMC/sodium-fabric/assets/174178570/8d542c59-ccd9-4af7-975f-d612e8dedcf0)
Reproduction Steps
Install 1.21 with Fabric Mod Loader. Use
jdk-21.0.3.9-hotspot
as your runtime. Install Sodium 0.5.11. Launch the game and create the new world with Creative mode. Set the game rule keepInventory to true. Equip elytra and firework. Set a spawnpoint on0 320 0
. Open F3 menu and follow one axis both in positive and negative direction on Gizmo debug crosshair. Fly around 1000 blocks and kill yourself with the console command. Do the same for the all axes. Keep an eye on amount of geometry poolLog File
https://paste.nolog.cz/?9a65e0dee4dddbf2#FdqxtsRo6zU2XyumZ9ZdM1jHRjVyBWyLbduZezS9er4x
Crash Report
https://paste.nolog.cz/?4daec5abb631e610#CbPBK2LbpBALLJ2WyPgmrXYqtFm7VHuTSM7DFgLrkPnr