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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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