Search Issue Tracker
Fixed in 7.1.1
Votes
8
Found in [Package]
6.7.1
Issue ID
1163474
Regression
No
[LWRP] Sprite Renderer ignores Sprite Mask when Lightweight Render Pipeline Asset Data is set to 2D Renderer (Experimental)
How to reproduce:
1. Open the "SampleScene" Scene in the attached "case_1163474.zip" Unity project
2. In the Project tab, select the "LightweightRenderPipelineAsset" Asset
3. In the Inspector tab, change the Data property of Renderer Type to "New 2D Renderer Data"
4. Observe the Scene view
Expected result: the Sprite Renderer Component remains partially hidden
Actual result: the Sprite Renderer Component is not displayed
Reproducible with: 2019.2.0b6, 2019.3.0a6
Note: 2D Renderer (Experimental) introduced in Unity 2019.2. Unable to test on versions earlier than 2019.2.0a10 due to errors. The behavior of the Sprite Renderer Component's Mask Interaction property resembles its behavior when no Sprite Mask Component is present in the Scene.
-
Karabulutmeric
Sep 16, 2020 08:13
I'm using unity 2020.1.5f1 with using URP version 8.2.0. When i using UPR, sprite mask doesn't work at all. I'm stuck on this issue. I try all settings but still it doesn't work. So how is that "Fixed" i can't really understand.
-
nicmarxp
Sep 03, 2020 07:26
I think there should be a warning when using the 2D renderer that you need to enable Stencil/Depth buffer on the "URP 2D Renderer Data". In case someone doesn't figure it out, I hope this helps.. :)
-
MaykeBr
Aug 05, 2020 02:55
Nvm, i forgot to enable "Use Depth/Stencil buffer"
-
MaykeBr
Aug 05, 2020 02:47
Still have this issue on 2019.4.5f1
-
svkotelnikov
Mar 11, 2020 15:00
Still got this issue in 2019.3.4 with lwrp and urp (Forward renderer: The sprite masks work 2d Renderer Exp. : Doesn't)
-
Dazo1985
Nov 05, 2019 10:10
Still got this issue in
2019.2.11f1Forward renderer: The sprite masks work
2d Renderer Exp. : Doesn't -
Rileeno
Oct 09, 2019 18:29
How was this fixed in 7.1.1 if the latest release is still 6.9.1? I saw that the URP is at version 7.1.2 but I don't have the package in Unity 2019.2.8f1
In addition, sorting layer and custom ranges don't seem to make anything work better in 6.9.1
-
finbogg
Sep 04, 2019 20:34
I was successfully able to mask a sprite with another sprite when using the LWRP. I made sure my mask sprite was on the right sorting layer (on top) for the additional settings. I then had to set custom range sorting layer to match the same layer under additional settings. I hope this explains things. Please don't hesitate if you want more details.
-
exzizt
Aug 29, 2019 18:33
I noticed that as well @MOUNTBLANC. That's what I did to fix it as well.
-
mountblanc
Jul 16, 2019 16:26
If you set the sprite mask to a custom range the mask does work. Perhaps this info helps find the bug quicker.
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 7.1.1):
Issue fixed on Universal Render Pipeline Version 7.1.1 and above on latest Editor version 2019.3.