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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 12.0.0):
Fixed in 12.0.0 (2021.2.0b15), 13.0.0 (2022.1.0a11)