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
- NullReferenceException is thrown when selecting a Diffusion Profile
- Colliders of GameObject with Rigidbody component fail to collide with another GameObject when Rigidbody becomes Kinematic
- Shader cache uploads occur when the "Upload" parameter is disabled in the Cache Server settings
- "ApplySingleProperty clear overrides error" error when applying SerializedReference override to Prefab's nested Prefab
- About Unity window shows extended version numbers including staging tag
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