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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
This is a duplicate of issue #1098168