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
- Crash on AnnotationManager::CanHideLODLabels when opening the Gizmos dropdown menu
- "Default Play Mode" button does not appear in the Editor toolbar after installing Multiplayer Play Mode package
- Icon of the button that opens Player 2 window is barely visible in the Active Scenario window when using Light Editor Theme
- It is possible to disable the Low Resolution Aspect Ratios setting on non-Retina displays when the display's scale is set to a value higher than 100%
- The “Default” overlay preset is selected and not marked dirty but the overlay itself is still unsaved when deleting a different preset
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