Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
11.0.0
Issue ID
1299179
Regression
Yes
[Shader Graph] "implicit truncation of vector type" errors are thrown when creating a new Lit/Unlit 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
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 12.0.0):
Fixed in Unity 2021.2.0a2 and above