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
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
- DOTS Materials Not Rendering in Player When Using Entity Graphics with Custom SRP
- Sprite Pivot position in Sprite Editor and Scene View do not match when the position is custom
- [HDRP] Unchecking the "Base layer" in Graphics Compositor results in Camera view rendering over the window
Resolution Note (fix version 2.X):
Fixed a bug where the `SplineCacheUtility` would send null reference exceptions.