Search Issue Tracker
Fixed in 5.0.0-pre.10
Votes
0
Found in [Package]
5.0.0-pre.7
Issue ID
1296427
Regression
No
[ProBuilder] NullReferenceException thrown on performing Undo and Redo operation with the Cut Tool
How to reproduce:
1. Create a new project
2. Window > Package Manager >ProBuilder > Install
3. Tools > ProBuilder > ProBuilder Window > Create a New Shape
4. Divide faces using the Cut Tool
5. Edit >Undo Do Cut To Mesh
Expected Results: Undo operation is performed gracefully
Actual Results: NullReferenceException is thrown when object faces are divided using the Cut Tool and Undo operation is performed
Reproducible with: 5.0.0-pre.7(2021.1.0a8, 2020.2.0b14)
Notes:
1. Cut Tool is introduced in the package version 5.0.0-pre.7 and Unity 2021.1.0a8, 2020.2.0b14
2. Occurring on Windows 10 & Mac 10.15.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.ProBuilder.CutTool.UndoRedoPerformed () (at library/packagecache/com.unity.probuilder@5.0.0-pre.7/editor/editorcore/cuttool.cs:200)
UnityEditor.Undo.Internal_CallUndoRedoPerformed () (at <5bcc5242f4ee487aa687ca1377112811>:0)
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
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
- Editing and saving Curve changes in UI Builder window throws multiple errors in the Console
- [UI Builder] Value is not selected when left clicking on Spacing/Border Widget values
Resolution Note (fix version 5.0.0-pre.10):
Fixed in ProBuilder 5.0.0-pre.10 which is available in Unity 2019.4 and above
PR - https://github.com/Unity-Technologies/com.unity.probuilder/pull/359