Search Issue Tracker
In Progress
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 DynamicHeapAllocator::CreateTLSFBlock when opening a specific project
- Scene flickers when using Mesh Output with SpriteLit Shader in 2D project
- “Cache Management” text is misaligned in Preferences > Package Manager
- [macOS] network permission shows the name of previously closed app when different app requests network access
- Delta value returned by mouse movementsMonitor is different when changing Screen Resolution
Resolution Note:
The cause for this bug was isolated and fixed.