Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

0

Found in

2018.4

2019.4

2019.4.23f1c1

2020.3

2021.1

2021.2

Issue ID

1335899

Regression

No

TrailRenderer.SetPosition will log a Index out of bounds error when index is in bounds of the positionCount property

Visual Effects - Legacy

-

How to reproduce:
1. Open the attached project
2. Open SampleScene
3. Select GameObject in the Scene Hierarchy
4. Move it around in the Scene

Expected result: No index out of bounds errors are printed to the Console
Actual result: 'TrailRenderer.SetPosition index out of bounds!' is printed to the Console

Reproducible with: 2018.4.34f1, 2019.4.26f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a17

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a19

  2. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.14f1

  3. Resolution Note (fix version 2020.3):

    Fixed in: 2020.3.16f1

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.