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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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