Search Issue Tracker
Active
Under Consideration for 2022.2.X, 2023.1.X
Votes
0
Found in
2022.2.5f1
2023.1.0b1
Issue ID
UUM-26247
Regression
No
CreateAsset does not persist keywords set to a material
Steps to reproduce:
1. Open the user's attached project "MaterialKeywordBug.zip"
2. Select the menu item "Bug -> Create Material"
3. Observe the Console
4. _TEST_KEYWORD is set on the material that gets serialized, then _TEST_KEYWORD is gone
Expected results: CreateAsset persists keywords set to a material
Actual results: CreateAsset does not persist keywords set to a material
Reproducible on: 2021.3.18f1, 2022.2.5f1, 2023.1.0b1
Could not test on 2020.3.45f1 due to scripting errors when downgraded
Notes:
-"Editor/Meh.cs" script logic:
1. Instantiate a material from a template in the project
2. Sets the desired keyword
3. CreateAsset to save that new material
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Editor window is not restored to previous position when launching the Editor and mouse cursor is on a different screen
- [Usability] Warning message in an Adaptive Probe Volume Component is not informative enough when Realtime Global Illumination is enabled
- Inspector for Adaptive Probe Volumes is not repainted when toggling Realtime Global Illumination setting in the Lighting Window
- Surface Inputs are not rendering when using the custom BaseShaderGUI
- Reflection Problem custom Cubemap loses its reference when HDR is enabled and the platform is switched
Add comment