Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
7.4.1
Issue ID
1265895
Regression
No
[URP 2D Renderer] SpriteMask with specific layer order does not work if there is a Light 2D with "UseNormalMap" enabled
How to reproduce:
1. Open attached project "2DLight_NormalMap_Spritemask_Issue.zip" and scene "SampleScene"
2. Open Edit -> Project Settings -> Tags and Layers
3. In Tags and Layers, make 'Layer Default' in the middle of Layers Background and Overlay
4. In Game view
Expected result: the mask still works and there is a hole in the middle of the white circle
Actual result: the mask does not work and there is no hole in the middle of the white circle
Reproducible with: 2019.4.7f1 (7.4.1), 2020.1.1f1 (8.2.0), 2020.2.0a20 (9.0.0-preview.35)
Not reproducible with: 2019.4.7f1 (7.3.1)
Could not test with: 2018.4.26f1 (2D Renderer was not yet implemented)
Notes:
If the light is removed or "UseNormalMap" is disabled then the issue does not reproduce
-
Qxlbr
Aug 03, 2020 17:29
Additional infos: it worked in URP 8.1, but not in URP 8.2 anymore.
However it works in URP 9.0 Preview v14 again!
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
- Label is not centered when using flex-direction: row
- Incorrect initial target position when the Skinning Editor's "Depth" parameter is adjusted on a bone which is set as the "Effector" parameter on the "Limb Solver 2D" Component
- The order of activation for Water Deformers and Foam Generators will cause water artefacts in the Player
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play mode on a specific project
- Crash on CachedWriter::Write when building a specific project with a default runtime TSS
This is a duplicate of issue #1199213