Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.0.70f1

6000.3.10f1

6000.4.0b11

6000.5.0a8

6000.6.0a1

Issue ID

UUM-136222

Regression

No

Incorrect line in IDE is selected when opening an exception from the Console which is implemented in a method with UnityEngine.Object parameter

Scripting Runtime

-

How to reproduce:
1. Open the attached “IN-135793” project
2. Open the “SampleScene”
3. Enter and exit Play mode
4. In the Console, notice 4 exceptions are thrown
5. Double click one of the exceptions which mentions “Fail”
6. Observe the opened IDE

Actual result: Line that called the method is opened and selected in the IDE
Expected result: The line where the exception is thrown and method is implemented is opened in the IDE

Reproducible with: 2023.1.0a1, 6000.0.70f1, 6000.3.10f1, 6000.4.0b11, 6000.5.0a8

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- Reproducible with VS 2022, 2026 and Rider IDEs
- IDE packages versions did not affect the reproduction
- The last exception in the Console that includes “WORKS” works as expected, does not use UnityEngine.Object as parameter

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.