Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.3.2f1

Issue ID

771224

Regression

No

[Debug] Result of GetComponent<> called as a generic type crashes editor if inspected

CodeEditors

-

Steps to reproduce:

1. Open attached project "771224,.zip"
2. Open scene "repro"
3. Open script "crash.cs" using VS
4. Add breakpoint in line 19 and attach to Unity
5. Run Unity
6. Once breakpoint is reached, in VS expand (inspect) "result" variable
7. Unity crashes

Note: If type is Animator or Rigidbody then Unity crashes, however, if type is Camera then Unity doesn't crash.

Reproduced with: 5.2.4f1, 5.3.2p4, 5.4.0b7

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.