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
Comments (1)
-
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1199213