Search Issue Tracker
Fixed
Votes
0
Found in [Package]
2.1.0
Issue ID
SPLB-146
Regression
No
All of the Spline points are placed in the prefab position, and an “IndexOutOfRangeException: Index was outside the bounds of the array“ error appears when pressing undo after creating a Spline if a prefab was placed before
How to reproduce:
1. Open the user’s attached “Deadshot.zip” project
2. Add “Cable” prefab to a scene view
3. In the Scene window toolbar, select “Spline” in the Active Content dropdown (near View Tool)
4. Select “Draw Splines Tool” and add a couple of points
5. Press undo and observe the result
Expected result: One of Spline points gets removed
Actual result: All of the Spline points are placed onto the “Cable” prefab position, and an “IndexOutOfRangeException: Index was outside the bounds of the array“ error appears
Reproducible with: 2.1.0 (2021.3.0f1, 2021.3.22f1, 2022.2.14f1), 2.2.0 (2023.1.0b11,
2023.2.0a9)
Could not test with: 1.0.0-pre.8 (2020.3.47f1) (Errors after installing Splines package)
Reproduced on: macOS 13.2.1 (Intel)
Note: With some editor versions after the 5th step, all points of Spline were gone
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Fixed a bug where undoing actions would not work with prefab instances containing splines.