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
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
- UI Document file remains marked as Dirty after Undoing made changes
This is a duplicate of issue #1199213