Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
10.9.0
12.1.7
13.1.8
14.0.3
15.0.0
Issue ID
SGB-168
Regression
No
No fields for enum values in Shader Graph when float property Mode is set to Enum
Reproduction steps:
1. Open user’s attached project
2. Open Assets/MyShader Shader Graph
3. Select MyEnum property and in Mode select Enum
Expected result: There are fields for Enum values
Actual result: There are no fields for Enum with warnings thrown :
- Failed to create material drawer Enum with arguments ''UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
- Failed to create material drawer Enum with arguments ''UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
- \[Worker1] Failed to create material drawer Enum with arguments ''Failed to create material drawer Enum with arguments ''UnityEditor.AssetImporters.ScriptedImporter:GenerateAssetData (UnityEditor.AssetImporters.AssetImportContext)
Reproducible on: 10.9.0 (2020.3.37f1), 12.1.7 (2021.3.8f1), 13.1.8 (2022.1.13f1), 14.0.3 (2022.2.0b4), 15.0.0 (2023.1.0a5)
Reproducible with: macOS 12.5
Note: Some warnings don’t appear on all versions.
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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Resolution Note:
We're looking at refreshing various areas of the ShaderGraph implementation and we'll be looking at this feature more closely; however, we won't be addressing this in the near-term as a bugfix.