Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0a1
Issue ID
883521
Regression
Yes
StackOverflowException and Unity freezes in endless loop when adding components from script in some scenarios
To reproduce:
1. Open attached project
2. Open StatsMonitor or FPSCounter scene
3. Enter play mode
4. Editor will hang after failing to add a component with
StackOverflowException: The requested operation caused a stack overflow.
and when enter endless loop of trying to add it and hanging Unity (available in editor logs, no callstack available)
Note: There is a scene "2" where I tried simply adding a component a lot of times, but that doesn't reproduce the bug, there is some other dependency I unfortunately didn't manage to figure out
Reproduced in 5.6b9, 2017.1a
Not reproduced in 5.5f3
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 #882791