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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are 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