Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2019.3
2019.3.4f1
2020.1
2020.2
Issue ID
1227416
Regression
No
Shaders matrix properties and colors are incorrect when material or shader in project is selected or application is built
How to reproduce:
1. Open attached project "BatcherTest.zip" and scene "SampleScene"
2. Enter Play mode
3. Observe Game view (the cubes are aligned in a straight line)
4. In Project window, select "TestMaterial_withMatrix" material or "TestShader_withMatrix" shader
5. Observe Game view
Expected result: the Cubes are always aligned along a straight line and the colors follow the gradient
Actual result: the Cubes have offset position, colors are mismatched
Reproducible with: 2019.3.6f1, 2020.1.0b2, 2020.2.0a3 (7.1.8, 7.2.1)
Could not test with: 2017.4 (HDRP was not yet released), 2018.4 (shaders are unclickable/corrupt, HDRP errors in the console window)
Notes:
When "Save Asset" in "TestShader_withMatrix" shader graph window is pressed the cubes become aligned along a straight line, colors are fixed and follow the gradient
In Standalone build, the Cubes are not in a straight line and the colors are mismatched
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 2020.2):
Verified in: 2020.2.0a5
Resolution Note (fix version 2020.1):
Verified in: 2020.1.0b4
Resolution Note (fix version 2019.3):
Verified in: 2019.3.8f1