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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
This is a duplicate of issue #1098168