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

Package: Splines

-

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

  1. Resolution Note (fix version 2.X):

    Fixed a bug where the `SplineCacheUtility` would send null reference exceptions.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.