Search Issue Tracker
Duplicate
Votes
0
Found in
5.0.0f4
Issue ID
685486
Regression
No
[Debugging] Evaluating GameObject.GetComponents() in a watch crashes Unity
Steps to reproduce:
1. Open the attached project
2. Open 'Map.cs' script with MonoDevelop
3. Put a breakpoint at line 236 and attach the debugger to Unity process
4. Under 'Watch' tab add a 'GetComponents()' watch
5. Open and play the 'Prototype_hexagon01' scene
6. Unity editor will crash while MonoDevelop stays open
As a workaround one can call GetComponents(typeof(ComponentType)) instead of GetComponents<ComponentType>().
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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
This is a duplicate of issue #589577