Search Issue Tracker
Duplicate
Votes
0
Found in
2019.3
2019.3.2f1
2020.2
Issue ID
1222688
Regression
No
Editor silently crashes or StackOverflowException is thrown when creating InspectorElement in CreateInspectorGUI method
Reproduction steps:
1. Open the attached project "case_1222688.zip"
2. Load the "SampleScene"
3. Select the "Test" GameObject in the Inspector window
-- Observe the silent crash
Reproduces on: 2019.3.6f1, 2020.1.0b3, 2020.2.0a3
Could not test with 2017.4 and 2018.4 due to multiple compilation errors
Note1: when returning a new InpsectorElement with a constructor without arguments only StackOverflowException is thrown and no crash occurs
Note2: when returning a new InpsectorElement with a constructor with arguments the Editor silently crashes without the StackOverflowException
Note3: the compiler sometimes doesn't detect changes made in TestEditor.cs, thus you have to manually refresh the script in the Project window
-
Resolution Note:
Confirmed that this is exhibiting behavior of an already existing and very difficult bug to resolve. Please refer to the parent case for a full explanation of what is happening. This bug is still in our list of items to attempt to address at some point!
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
- Scene Filter buttons reset to "All" in the Occlusion Window when entering Play Mode but the Scene Filters themselves do not reset
- Transition property is not disabled in the UI Builder when it is set by a variable
- Crash on PersistentManager::GetSerializedType when opening a specific Scene
- GlobalObjectId.GetGlobalObjectIdSlow returns empty ID when in Prefab Isolation Mode
- Crash on Transform::RemoveFromParent when deleting a child GameObject
This is a duplicate of issue #1098168