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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
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.