CaffeineMC/sodium-fabric

Sodium breaks game's particle managment

nikolaaafunn opened this issue · 2 comments

Bug Description

Sodium discounts teleport events in particle management, which causing emitting particles in unloaded chunks.

Below is the "real world" example with Terralith mod which reveals the problem.

particle2

With the mods that dramatically increasing the render distance this might be a big problem, since particles could be emitted from the very big distance.
particle

Reproduction Steps

Install 1.20.6, Sodium, BetterF3 to track of particles, and Cloth Config as a dependency to BetterF3.
Set render distance to 32.
Create a superflat world with "The Void" template.
Place a campfire in center of the stone platform.
Teleport away with command /teleport @s ~ ~ ~1000
With F3 you can observe that the game is processing particles, but we are far enough from the unloaded campfire.
This behavior doesn't happen when we move away from the campfire chunk.

bug

Expected behavior:
In this case the game should not emit new particles.

Log File

Not applicable

Crash Report

Not applicable

Is this a real vanilla issue? Without sodium campfire won't emit new particles.