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 Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
This is a duplicate of issue #1098168