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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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