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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
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