Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2019.4.X, 2020.3.X



Found in





Issue ID




Shader with UsePass is missing certain passes in a Player Build

Shader System


How to reproduce:
1. Open the user attached project
2. Open the "Example_NoCreep" Scene
3. Enter Play mode
4. Observe the floating objects in the Game view. (Either grey or green color is applied to each object. Every object also receives an outline)
5. Build the project
6. Launch the Player Build

Expected results: Objects are rendered the same way as in Editor Play mode
Actual results: OUTLINEPASS is missing. Sometimes color is applied incorrectly and all objects are rendered in grey

Reproducible with: 2019.4.25f1(7.6.0), 2020.3.5f1(10.4.0), 2021.1.4f1(11.0.0), 2021.2.0a15(12.0.0)
Could not test with: 2018.4(Project is using URP which was not yet available)

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

  1. Resolution Note (fix version 2021.1):

    Fixed in - Unity 2021.1.23f1

  2. Resolution Note (fix version 2021.1):

    Fixed in - Unity 2021.1.23f1

  3. Resolution Note (fix version 2020.3):

    Fixed in - Unity 2020.3.20f1

  4. Resolution Note (fix version 2019.4):

    Fixed in - Unity 2019.4.32f1

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.