Search Issue Tracker
Fixed
Fixed in 2.6.X
Votes
1
Found in [Package]
2.6.1
Issue ID
SPLB-277
Regression
Yes
SplineAnimate.EvaluatePositionAndRotation error when instantiating a prefab with SplineAnimate component
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Enter Play Mode
4. Press the spacebar key
5. Observe the Console window
Expected result: No errors are thrown in the Console window
Actual result: “transform.position assign attempt for 'SplineAnimateContainer' is not valid. Input position is { Infinity, Infinity, Infinity }.” error is thrown in the Console window
Reproducible with: 2.6.1 (2022.3.31f1, 6000.0.4f1)
Not reproducible with: 2.5.2 (2021.3.38f1, 2022.3.26f1, 6000.0.0b16), 2.6.0 (2022.3.31f1, 6000.0.4f1)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Comments (2)
-
Dried09
May 18, 2025 20:23
I can also confirm the issue.
It can be partially avoided by manual assigning of SplineContainer instance to SplineAnimate in runtime, but still throws exception once on Awake.Bug was found on 2.6.1 and as of now this version is still latest in PM. Any chances to see updates soon?
-
AlexWijnbeek
Jul 22, 2024 13:43
Is it possible to give an estimate of when this fix will be released? This is currently breaking our game.
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.6.X):
Fixed a bug where instantiating a prefab with `SplineAnimate` parameter would throw messages in the console.