Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in [Package]
11.0.0
Issue ID
1306820
Regression
No
[ShaderGraph] Boolean keywords disappear from the Inspector after changing the reference name
How to reproduce:
1. Open the user's attached "ShaderGraphKeywords.zip" project
2. Open the "New Shader Graph" Shader Graph in the Project window
3. Select the "Shader Graphs_New Shader Graph" Material in the Project window
4. Observe the Boolean keywords shown in the Inspector
5. Select the "Boolean (1)" keyword in the Blackboard of the Shader Graph window
6. Change the reference name to anything without an _ON suffix
7. Save the Asset and Observe the Inspector window
Expected result: "Boolean (1)" keyword is shown in the Inspector window without the _ON suffix
Actual result: "Boolean (1)" keyword is not shown in the Inspector window without the _ON suffix
Reproducible with: 7.5.2 (2019.4.19f1), 10.2.2 (2020.2.3f1), 11.0.0 (2021.1.0b4, 2021.2.0a3)
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a9 (12.0.0)