Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.1.X, 2020.2.X



Found in




Issue ID




Objects are not renderer when an unused pass in a shader is excluded from the used graphics API

Shader System


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)

1. Graphics APIs tested: D3D11, D3D12, Vulkan, OpenGLCore

  1. Resolution Note (fix version 2021.1):

    Fixed in - 2021.1.0a2

  2. Resolution Note (fix version 2020.2):

    Fixed in - 2020.2.0b9

  3. Resolution Note (fix version 2020.1):

    Fixed in - 2020.1.10f1

  4. Resolution Note (fix version 2019.4):

    Fixed in - 2019.4.13f1

Comments (3)

  1. whowaslucifer0

    Aug 29, 2021 17:07

    Best love tis

  2. afronaijaentertainment

    Jul 27, 2020 18:09

    2020 00:40

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.