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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.