Search Issue Tracker
Feature Request
Votes
0
Found in [Package]
10.10.0
12.1.7
14.0.3
15.0.0
16.0.0
Issue ID
SGB-350
Regression
No
Material broken when multiplying it's color with an identity matrix
Reproduction steps:
# Open the attached project
# Open the “/Assets/Scenes/SampleScene.unity” Scene
# Observe the Cube GameObject’s material in the Scene View
Expected result: The material set doesn’t have any glitches/glowing
Actual result: The material glitches
Reproducible with: 10.10.0 (2020.3.39f1), 12.1.7 (2021.3.8f1), 13.1.8 (2022.1.14f1), 14.0.3 (2022.2.0b6), 15.0.0 (2023.1.0a9)
Reproducible on: Windows 10 (21H2)
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note:
The 'default' value for Matrices is a bit misleading.
Unity does not support default inline values for cbuffer matrix types-- only for Textures and the types supported by Material Property Blocks.
The default value here is solely for previews and does not set defaults for the final shader or the corresponding materials. To set those values, do so using the material interface for setting properties.
Marking this as a feature request, as there are definitely some improvements here we should investigate.
Marking this as a feature request because we don't want to forget that this is unintuitive, but this becomes