Search Issue Tracker

Fixed in 4.3.0-preview.4

Votes

0

Found in [Package]

preview.2 - 4.3.0

Issue ID

1221121

Regression

Yes

[ProBuilder] Editor terminates with return code 0 when "New Poly Shape" is created and undo is performed

Package: Probuilder

-

"Fatal Error!" dialogue pop-ups when a "New Poly Shape" is created and undo is performed, along with error: "Application will terminate with return code 0", refer attached video.

Steps to repro:
1. Create a new project.
2. Window > Package Manager > Probuilder(preview.2 - 4.3.0) > Install
3. Tools > ProBuilder > ProBuilder Window
4. Select "New Poly Shape" tool
5. Create a Poly Shape in the scene view
6. Performed undo action

Actual Result:
Editor quits with "Fatal Error!" on performing undo action

Expected Result:
Undo actions are performed gracefully

Occurring on:
2020.1.0a24, 2020.1.0a23 with ProBuilder package version: preview.2 - 4.3.0

Working Fine on:
2020.1.0a24, 2020.1.0a23 with ProBuilder package version: preview.1 - 4.3.0, 4.2.3,

Environment:
Windows 10 and macOS 10.14

Stack trace:
The Transform of GameObject 'New Game Object' was previously destroyed and cannot be restored.
UnityEditor.EditorApplication:ExecuteMenuItem(String)
UnityEditor.ShortcutManagement.MenuItemEntryDiscoveryInfo:<.ctor>b__7_0(ShortcutArguments)
UnityEditor.ShortcutManagement.Trigger:HandleKeyEvent(Event, IContextManager)
UnityEditor.ShortcutManagement.ShortcutController:HandleKeyEvent(Event)
UnityEditor.ShortcutManagement.ShortcutIntegration:EventHandler()
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()

[C:\buildslave\unity\build\Editor/Src/Undo/ObjectUndo.cpp line 443]
(Filename: C:\buildslave\unity\build\Editor/Src/Undo/ObjectUndo.cpp Line: 443)

Exiting without the bug reporter. Application will terminate with return code 0

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.