Search Issue Tracker

Active

Votes

0

Found in

2020.1.0a4

2020.1.4f1

2020.2

Issue ID

1278032

Regression

Yes

An error directs to a wrong line in the script when the error is thrown in the Console

Scripting

-

How to reproduce:
1. Open user's attached "arrayerror" project
2. Open the "SampleScene" Scene
3. Enter the Play Mode

Expected results: The error in the Console shows that the error is in line 17
Actual results: The error in the Console shows that the error is in line 14

Reproducible with: 2020.1.0a4, 2020.1.6f1, 2020.2.0b3
Not reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.0a3

Notes:
- The error will show the closing bracket of the function in which the error has occurred
- The issue seems to appear only on the "Index out of range" error

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.