ScriptableObject icon cannot be changed when using IconAttribute
Unity: Scripting
Fixed
2023.1.X
Won't Fix
2022.2.X
2022.1.X
2021.3.X
2022.1 has reached end of life so the issue will be fixed in a newer version.
Reproduction steps:
1. Open the attached project “IconBug”
2. Observe "Assets/CustomScriptable" ScriptableObject in the Project window
Expected result: The ScriptableObject “CustomScriptable“ has a custom icon
Actual result: The default icon is set to the ScriptableObject “CustomScriptable”
Reproducible with: 2021.3.15f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a4
Not reproducible with: 2023.1.0a5, 2023.1.0a23
Couldn't test with: 2020.3.42f1('IconAttribute' is inaccessible due to its protection level)
Reproducible on: Windows 11
Prioritise and Follow this issue
Have a workaround or additional info about this issue?