Search Issue Tracker

Fixed in 12.0.0



Found in [Package]


Issue ID




[Shader Graph] "implicit truncation of vector type" errors are thrown when creating a new Lit/Unlit Shader Graph

Package: Shader Graph


How to reproduce:
1. Create a new project with the SRP template (i.e. URP)
2. In the Project Window, create an Unlit Shader Graph (Create->Shader->Universal Render Pipeline->Unlit Shader Graph)
3. Select the created Shader
4. Preview it in the Inspector

Expected result: No errors are thrown inside of the Shader
Actual result: Multiple "implicit truncation of vector type" errors are thrown

Reproducible with: 10.3.1 (2020.2.7f1), 11.0.0 (2021.1.0b9, 2021.2.0a1)
Not reproducible with: 7.5.3 (2019.4.21f1)

Note: Error is shown with a warning icon

  1. Resolution Note (fix version 12.0.0):

    Fixed in Unity 2021.2.0a2 and above

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.