Search Issue Tracker
In Progress
Fix In Review for 2.8.2
Votes
0
Found in [Package]
2.6.1
2.8.0
Issue ID
SPLB-355
Regression
No
Error “NullReferenceException: Object reference not set to an instance of an object“ is present when pressing CTRL + Z after "Bake Instances" in the Spline Instantiate component
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/bake_instance_undo_bug1.unity” Scene
3. In Hierarchy, select the “Spline” GameObject
4. In Inspector, under “Spline Instantiate” Component, press the “Bake Instance“ Button
5. Press CTRL + Z
6. Observe Console
Expected result: No Errors exist
Actual result: Error “NullReferenceException: Object reference not set to an instance of an object“ is present
Reproducible with: 2.6.1 (2022.3.51f1), 2.8.0 (2022.3.61f1, 6000.0.47f1, 6000.1.0b15, 6000.2.0a9)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- When the NullReferenceException occurs, the component becomes invisible and stops functioning
- Another issue is that after opening “/Assets/bake_instance_undo_bug2.unity”, selecting “Spline” GameObject and under “Spline Instantiate” Component, selecting Drag_to_drop Object in “Items To Instantiate” field, a NullReferenceException occurs
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
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Resolution Note (fix version 2.8.2):
The cause for this bug was isolated and fixed.