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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
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