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
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
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
- Console window loses focus of the last message when a lot of messages are shown in a row
- Shadow artifacts appear when using a merged mesh with a specific Near Plane value in the Play Mode in URP
- "TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR" error when a lot of web requests are sent within a few minutes
- “ArgumentOutOfRangeException“ error when selecting 'TMP_InputField' content using keyboard in WebGL build
- Spot Light with 'Box' Shape stops working when it collides with Mesh
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a19
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.14f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.16f1