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

Mono

-

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

  1. 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

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.