Search Issue Tracker
Fixed
Fixed in 2.X
Votes
0
Found in [Package]
2.5.2
2.6.1
Issue ID
SPLB-304
Regression
No
ArgumentOutOfRangeException is thrown when using Spline Instantiate with 'Linear Distance' and more than one Spline is used
Reproduction steps:
1. Open the attached “SplineInstantiateBug.zip” project
2. Open the “SampleScene”
3. Observe the Console
Expected result: No errors are visible
Actual result: “ArgumentOutOfRangeException: Index was out of range.” exceptions are constantly thrown
Reproducible with: 2.1.0 (2021.3.44f1), 2.5.2 (2021.3.44f1), 2.6.1 (2022.3.49f1, 6000.0.23f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note:
- Does not reproduce when Instantiate Method is ‘Spline Distance’ or ‘Instance Count’
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note (fix version 2.X):
Fixed a bug where an exception would be thrown when using `SplineInstantiate` with linear distance instantiate method and multiple splines.