Search Issue Tracker
Fixed in 2021.3.30f1
Fixed in 2021.3.X, 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X, 2023.3.0a1
Votes
0
Found in
2021.3.22f1
2022.2.13f1
2022.3.0f1
2023.1.0b10
2023.2.0a8
2023.3.0a1
Issue ID
UUM-31662
Regression
No
Lens Flare occlusion effect doesn't work when the Camera GameObject is behind obstacles
How to reproduce:
1. Open the attached “IN-25988.zip” Project
2. Open the “SunFlare” Scene (Assets → Scenes)
3. Observe the Game window
Expected result: Lens Flare effect gets obstructed when the Camera is behind obstacles
Actual result: Lens Flare effect is still visible when the Camera is behind obstacles
Reproducible with: 12.1.10 (2021.3.22f1), 14.0.6 (2022.2.13f1), 15.0.4 (2023.1.0b10), 16.0.0 (2023.2.0a8)
Couldn’t test with: 10.10.1 (2020.3.46f1) - Downgrading breaks Lens Flare effect and Samples are not downloadable
Reproduced on: macOS Ventura 13.1 (Intel), Windows 11 (User Reported)
Notes:
- Related Forum thread: https://forum.unity.com/threads/lens-flares-srp-occlusion-work-in-reversed-order-in-builds.1374015/#post-8663676
- User noted the issue also happens in; WebGL, Android (Samsung Galaxy S8)
- User noted that the issue is not reproducible in the Editor, but it is reproducible on macOS Ventura 13.1 (Intel)
- Reproducible on a new Project
- Not reproducible with HDRP
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment