Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2023.1.10f1
2023.2.0b6
Issue ID
UUM-47252
Regression
No
Default shader values are not set for existing materials
Blackboard variables with default values are not set if a material is already created even if that variable was never included in the initial setup of the material
- Create a new shader graph (any type)
- Create a material using this new shader
- Add a new blackboard variable to the shader: blackboard => '+' => any type
- Set the default value. Select the new blackboard var => Graph Inspector => Default
- Select the material created in step 2
Expected result: The default value is applied to the existing material
Actual result: The new value is set to the type's default value- integers 0, colors white, e.t.c
!Unity_bnvDKjGGPb.gif|width=1544,height=773!
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note:
Default value propagation from ShaderGraph to Materials isn't well supported after the material has already been created. This isn't something we will address as a bug in the near term, so I'm closing this out for now. We're aware and are keeping it in mind for any opportunities we have to address it in the future.
Resolution Note (2023.2.X):
Default value propagation from ShaderGraph to Materials isn't well supported after the material has already been created. This isn't something we will address as a bug in the near term, so I'm closing this out for now. We're aware and are keeping it in mind for any opportunities we have to address it in the future.