Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.11f1
2022.1.19f1
2022.2.0b9
2023.1.0a13
Issue ID
UUM-15930
Regression
No
URP renderer stencil effect doesn't show in Game view
How to reproduce:
- Open the user attached project
- Open the scene called TestNewRenderer
- Look at the asset UniversalRenderPipelineAsset_NewRenderer to see the render features
- See the render feature called "RenderAntiPortalStencil" and see it uses a material/shader that renders the value 2 into the stencil buffer
- Create a new GameObject
- Add the AntiPortal layer to the new GameObject
Expected result: The AntiPortal GameObject shows up in the Scene view and Game view
Actual result: The AntiPortal GameObject doesn’t show up in the Game view
Reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.19f1, 2022.2.0b9, 2023.1.0a13
Reproducible on: Windows 10 (Intel)
Note: See the attached MissingStencilHole.png to see the hole mentioned in the reproduction steps
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
- Incorrect color values are saved for Swatches when using HDR Color Picker
- Editor crashes when adding/removing a UI Document Style Sheet while in Play mode
- Scene and Game views turn black when all light sources are disabled
- Memory spike after activating Freeform Light2Ds
- Line Renderer Component elements do not fit in the Inspector window when minimising Inspector window is minimised
Resolution Note:
this is not a bug. They forgot to add the "AntiPortal" layer to the Main Camera Culling Mask (Main Camera->CullingMask drop down list), so that specific object is not rendered in game.