Trees missing leaves

The trees seem to show up fine, but eventually start missing leaves.
I disabled shaders, remove some mods, remove the resource pack I was using and deleted the database file.
This world was imported from 1.18.2 and the trees are custom trees, but I made them with normal leaves.
I experimented on a new world and the issue doesn't happen.
It also doesn't seem to happen with all the trees.

The first image is after I load the world, the trees look ok.
On the second image I moved to a new area, and before it has time to load it looks like that and the less detailed LODs look ok.
On the third image after it updates, the trees start missing leaves.
On the fourth image I moved a bit closer and to the left and the trees again look ok.
On the fifth image and after a few seconds, the trees lose the leaves.
2025-06-14_12.02.06.png
2025-06-14_12.02.37.png
2025-06-14_12.05.37.png
2025-06-14_12.07.45.png
2025-06-14_12.09.46.png
mods.jpg
Solution
Enabling recalculate height map worked! Thank you!
Was this page helpful?