Search Issue Tracker
Fixed
Unknown (hidden) 2021.2.X, 2022.1.X
Fixed in 2023.1.0a2
Votes
6
Found in
2021.2.7f1
2022.1.0b1
2023.1.0a1
Issue ID
UUM-2398
Regression
No
Canvas disappears when Lens Flare is on
Reproduction steps:
1. Open user's project 'Split-Screen Repro'
2. Open the 'SampleScene'
3. Enter Play mode
4. Press 'Space' to toggle Lens Flare
Expected result: the 'Press 'Space' to toggle Lens Flare' Text element is always visible
Actual result: the Text element disappears when Lens Flare is on
Reproducible with: 12.1.2 (2021.2.7f1), 13.1.3 (2022.1.0b1)
Could not test with: 7.7.1 (2019.4.34f1), 10.8.0 (2020.3.24f1) (multiple compile errors)
Note:
Reproducible only on Windows
Comments (3)
-
kojiohno
Apr 09, 2022 04:14
Same problem here.
As a work-around, modifying PostProcessPass.cs as follows fixed the issue for me.
int amountOfPassesRemaining = (useStopNan ? 1 : 0) + (useSubPixeMorpAA ? 1 : 0) + (useDepthOfField ? 1 : 0) + (useLensFlare ? 1 : 0) + (useMotionBlur ? 1 : 0) + (usePaniniProjection ? 1 : 0);
to
int amountOfPassesRemaining = (useStopNan ? 1 : 0) + (useSubPixeMorpAA ? 1 : 0) + (useDepthOfField ? 1 : 0) + (useMotionBlur ? 1 : 0) + (usePaniniProjection ? 1 : 0);
It semems that amoutOfPassesRemaining shoudn't be added for lensFlare beacuse lensFrae doesn't need buffer swapping.
-
jukibom
Mar 26, 2022 16:28
Note this also occurs in URP 12.1.5
-
jukibom
Mar 14, 2022 01:44
Yep, just ran into this. Weirdly doesn't happen to _every_ canvas but I'm not sure what's special about the ones it keeps...
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [CI/CD]Build cache not invalidated when building targets with different defines
- VFX Learning Templates contains an empty folder the HDRP_VFX_Learning_Templates Scene
- Crash on -[NSApplication endModalSession:] when changing code in a Code Editor, saving and clicking on the Unity Window with "Stop Playing and Recompile" selected
- “Install package from git URL” and “Install package by name” tab does not close when resizing undocked Package Manager window and gets pushed outside the window
- "EndLayoutGroup: BeginLayoutGroup must be called first." errors are thrown when creating a Tag with identical name and holding the enter keyboard button
Resolution Note (fix version 2023.1.0a2):
Fixed in 2023.2.0a2
Resolution Note (2022.1.X):
Issue was no longer reproducable in 2022.1/staging when resolved previously. Now changing state form Resolved to simply Cancel
Resolution Note (2021.2.X):
Issue was no longer reproducable in 2021.3/staging when resolved previously. Now changing state form Resolved to simply Cancel