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][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
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