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
- Mesh.GetIndexBuffer() requires Mesh's 'Read/Write' flag to be enabled to get its index buffer data in Builds
- [Backport] [Sprite Atlas V1] Editor crashes when calling SpriteAtlasUtility.PackAtlases
- Deterministic builds have different files when built from the same project
- PlayerBuildInterface.ExtraTypesProvider no longer provides types to IL2CPP
- Touch input is reset in Device Simulator when Unity Remote is killed
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