Search Issue Tracker
Fixed
Fixed in 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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2.8.2):
The cause for this bug was isolated and fixed.