Search Issue Tracker
Fixed in 4.3.0-preview.2
Votes
0
Found in [Package]
4.3.0-preview.1
Issue ID
1277456
Regression
No
NullReferenceException is thrown when changing the Pivot Point of the parent and there are at least 2 children GameObjects
How to reproduce:
1. Open the user's attached "Probuilder Bug.zip" project
2. Open the "SampleScene" Scene
3. Create a new Probuilder Cube in the Hierarchy window (Right-click -> 3D Object -> Probuilder Cube)
4. Drag the "Cube" GameObject into the Project window to make a Prefab Asset
5. Open the "Cube" Prefab in the Prefab Mode
6. Unselect the "Cube" GameObject in the Hierarchy window
7. Create a child Probuilder Cube in the Hierarchy window (Right-click -> 3D Object -> Probuilder Cube)
8. Duplicate the created child by pressing CTRL + D on the keyboard
9. Select the parent GameObject
10. Press "Center Pivot" in the Probuilder window
11. Observe the Console log
Expected result: No errors are thrown in the Console log
Actual result: "NullReferenceException: Object reference not set to an instance of an object" error message is thrown in the Console log
Reproducible with: 4.1.0, 4.2.1, 4.3.0-preview.1 (2020.1.6f1, 2020.2.0b3)
Not reproducible with: 4.3.0-preview.2, 4.4.0 (2020.1.6f1, 2020.2.0b3)
Could not test with: 2018.4.27f1, 2019.4.10f1 (Cannot make a Probuilder cube child in the Prefab Mode)
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Resolution Note (fix version 4.3.0-preview.2):
Fixed in: 4.3.0-preview.2 (2020.1, 2020.2)