- Home /
Dynamic Occlusion Flickering in Unity 2020.3.1f1 LTS. How to fix?
Hello!
When I upgraded my project from Unity 2019.4.16f1 to 2020.3.1f1 LTS, dynamic occlusion no longer functions properly. I am using URP and it is a VR project. When I look in certain directions, some meshes flicker or disappear. If I turn off dynamic occlusion on an individual mesh, then that mesh no longer flickers so I know the issue is related to dynamic occlusion. I don't consider turning off dynamic occlusion to be a "fix" - I need it for performance reasons.
Video: https://youtu.be/4kSAfAVgd8o
This issue did not occur in Unity 2019, and began as a direct result of upgrading the project to 2020.3.1f1 LTS. Re-baking occlusion in the scene does not help at all.
How can this issue be fixed?
Answer by ForemanDesigns · Mar 28, 2021 at 01:25 AM
I was able to fix it by lowering the camera far clip plane distance. It was set to 100,000 and I lowered it to 10,000 which fixed the issue.
More detail here: https://forum.unity.com/threads/dynamic-occlusion-flickering-in-unity-2020-3-1f1-lts.1083230/