Search Issue Tracker
Fixed in 2020.2
Fixed in 2019.3, 2020.1
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
- [iOS] SystemInfo.systemMemorySize returns negative values
- [Physics Debugger] Colliders are visualized even if their Layer is not selected in the Show Layers property
- Crash on PAL_LocalIPC_IsConnected when IPC fails on launch
- [macOS] Video Player's 5.1 audio channel layout is incorrect when outputting to Audio Source
- AssetDatabase is overwriting GUIDs
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