Search Issue Tracker
Fixed
Fixed in 2.X
Votes
0
Found in [Package]
2.1.0
2.3
2.4
Issue ID
SPLB-201
Regression
No
Errors "SplineAnimate does not have a valid SplineContainer set." are throws instantly after adding a Spline Components
How to reproduce:
1. Open any project with Splines installed
2. Select any GameObject
3. Add Components "Spline Animate", "Spline Instantiate" or "Spline Extrude"
4. Observe Console
5. Try removing components or adding more and observe the Console again
Actual result: Errors "SplineAnimate does not have a valid SplineContainer set." are thrown immediately after adding these components. The errors thrown also are based on how many of these types of Components are attached to the GameObject.
Removing these Components also throws these Errors.
Expected result: No errors are thrown or rather are thrown only when no Splines are attached and the user is entering Play Mode, the same as everywhere in the Editor
Reproducible with: 2.4.0 (2021.3.31f1, 2022.3.11f, 2023.1.16f1, 2023.2.0b14, 2023.3.0a9)
Reproduced on: Windows 11
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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Resolution Note (fix version 2.X):
Fixed error messages showing in edit mode with spline components in Splines 2.5.1