Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2020.2.0b5
2020.3
2020.3.1f1
2021.1.0a1
2021.2
Issue ID
1324058
Regression
Yes
CreateInspectorGUI gets called twice when a custom Inspector is used for a ScriptableObject
How to reproduce:
1. Open the user's attached project
2. In the Project window select the 'MyScriptableObjectInstance' Asset
3. Observe the Console
Expected result: Only one 'MyScriptableObjectCustomEditor.CreateInspectorGUI' message gets logged
Actual result: Two 'MyScriptableObjectCustomEditor.CreateInspectorGUI' messages get logged
Reproducible with: 2020.2.0b5, 2020.2.7f1, 2020.3.2f1, 2021.1.0a1, 2021.1.1f1, 2021.2.0a10
Not reproducible with: 2019.4.23f1, 2020.2.0b4
Cannot test with: 2018.4.33f1 (no suitable method found to override)
Notes:
- The issue is not reproducible with a MonoBehavior
Comments (1)
-
trueh
Jun 24, 2021 21:52
This one is happening in the latest LTS. Can it be fixed?
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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a14