Search Issue Tracker
Fixed in 12.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1368622
Regression
Yes
URP 12 generates shader implicit truncation warnings when building player
How to reproduce:
1. Open users’ attached “URP12ShaderWarningIssue-2021.2.zip” project
2. Build the Player
3. Window > Open Last Build Report
4. In the Inspector under “BuildSteps” expand “Writing asset files” and “Packaging assets - globalgamemanagers.assets”
Expected result: No warnings are present
Actual result: “Shader warning in ''Hidden/Universal Render Pipeline/StencilDeferred'': implicit truncation of vector type” warning is present in Build Report
Reproducible with: 12.0.0 (2021.2.0b1, 2021.2.0b14, 2022.1.0a1, 2022.1.0a10)
Not reproducible with: 7.7.0 (2019.4.32f1), 10.0.7 (2020.3.22f1), 11.0.0 (2021.1.28f1), 12.0.0 (2021.2.0a21, 2021.2.0b15), 12.1.1 (2021.2.2f1), 13.0.0 (2022.1.0a11), 13.1.0 (2022.1.0a14)
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 12.0.0):
Fixed in 12.0.0 (2021.2.0b15), 13.0.0 (2022.1.0a11)