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
- 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 a bug where the `SplineCacheUtility` would send null reference exceptions.