Search Issue Tracker
Fixed
Fixed in 2.X
Votes
0
Found in [Package]
2.4
Issue ID
SPLB-199
Regression
Yes
Adding a knot in an open free form Spline throws a NullReferenceException error
How to reproduce:
1. Open any project with Splines installed
2. In Scene Hierarchy create a Spline > Draw Spline Tool
3. Draw a couple of Knots
4. Exit the tool while the Spline is selected
5. Add a knot in the Inspector list for that spline
6. Observe the Console
Actual result: Error "NullReferenceException: Object reference not set to an instance of an object" is printed
Expected result: No errors are thrown
Reproducible with: 2.4.0 (2021.3.31f1, 2022.3.11f, 2023.1.16f1, 2023.2.0b16, 2023.3.0a9)
Not reproducible with: 2.3.0 (2021.3.31f1, 2022.3.11f, 2023.1.16f1, 2023.2.0b16, 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
- Rotation values flip in animation when importing FBX with a generic rig
- [Quality Hackweek] Activated Terrain Inspector is active only until the terrain GameObject is deselected when two or more Inspectors are open
- Physics Used Memory keeps growing when GameObject colliders are enabled and disabled
- Errors are thrown and Inspector's UI element is not drawing when a GameObject with script component using a List<T> attached is selected
- ConfigurableJoint's parameters are not saved in the Prefab after Runtime Prefab baking
Resolution Note (fix version 2.X):
Fixed a bug where the `SplineCacheUtility` would send null reference exceptions.