Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
0
Found in
2019.4
2020.1
2020.2
Issue ID
1265627
Regression
No
Objects are not renderer when an unused pass in a shader is excluded from the used graphics API
How to reproduce:
1. Open the attached project named "TestProject"
2. Open the Test Scene
3. Observe the cube visible in the Scene view
4. Open the Test shader
5. Add the currently used graphics API in line 173 for the excluded_renderers
6. Observe the Scene view again
Expected result: The cube is still rendered as the Forward renderer does not use the 2D pass
Actual result: The cube is not rendered
Reproducible with: 2019.9.4.6f1(7.0.0, 7.4.1), 2020.1.0f1(8.2.0), 2020.2.0a20(10.0.0 - preview.24)
Could not test with: 2018.4.26f1(URP not available)
Notes:
1. Graphics APIs tested: D3D11, D3D12, Vulkan, OpenGLCore
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2021.1):
Fixed in - 2021.1.0a2
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.0b9
Resolution Note (fix version 2020.1):
Fixed in - 2020.1.10f1
Resolution Note (fix version 2019.4):
Fixed in - 2019.4.13f1