Search Issue Tracker
By Design
Votes
0
Found in
6000.0.31f1
6000.1.0a8
Issue ID
UUM-91288
Regression
Yes
HDRP Custom Pass differently controls how the Editor renders the objects in a Scene when using DX12 compared to DX11
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SeeThrough.unity” Scene
3. Observe the Scene view
Expected result: Green dots are present only where other objects cover the “Generator_01 (1)“ Prefab
Actual result: The whole prefab is covered in green dots
Reproducible with: 2023.3.0a11, 6000.0.31f1, 6000.1.0a8
Not reproducible with: 2022.3.54f1, 2023.3.0a10
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Not reproducible with DX11
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Hello, the issue is in the stencil shader used to write the stencil bit in the first pass of the see through effect. On DirectX12, settings a reference value of -1 is not supported, I fixed it by setting it to 255 instead.
I fixed the issue in the custom pass repository as well: https://github.com/alelievr/HDRP-Custom-Passes/commit/3bca3be0264d0a2e7142ed03468dd1447e49680a