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

Package: Splines

-

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’

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.