Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2017.4.30f1
2020.1
Issue ID
1176716
Regression
No
[MacOS][OpenGL] Material.SetMatrixArray fails to pass the last element of the array correctly to the shader
How to reproduce:
1. Open the "ReproWithAddedButtons.zip" project
2. Open the "SetMatrixArrayBug" scene
3. Set OpenGL as the Editor's graphics API
4. Enter Play mode
5. Select colours Blue, White, Magenta, Cyan through buttons
6. Notice the colour of the Quad
Actual result: The last element in the array is set wrongly when calling Material.SetMatrixArray.
Expected result: The last element in the array is set correctly.
Reproducible with: 2017.4.36f1, 2018.4.16f1, 2019.2.19f1, 2019.3.0f6, 2020.1.0a20.
Notes:
- Not reproducible with Metal.
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (2020.1.X):
OpenGL on MacOs is deprecated as of Mojave, this issue does not meet the quality bar to be fixed.