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
- "Browse" button for Xcode in the "Build Profiles" window is too big
- USS styles fail to inherit correctly when contentContainer is overridden in a custom control
- Copying and pasting Animator Transitions leads to unexpected behaviour
- "ShaderGraph" misses a space in the "Project Settings" section
- UI Builder inspector’s checkbox fields can be activated when clicking anywhere in the value field
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