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
- Sprite Editor Window not visualizing changes when selecting different Filter Modes
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline () when opening a project
- The Texture Shape of an Image changes from 2D to a Cube when the project is upgraded to 2019 and above
- Building 3D Sample Scenes (URP) Project fails
- Alpha channel is disabled when Alpha Clip Threshold is set to 0
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