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
"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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Hover style remains on elements after the cursor is moved away when the 'transition-delay' property is used
- [Android] [UIToolkit] FPS drops/increase in time consumption in the UI Toolkit rendering when adding "style.backgroundColor" and/or "style.backgroundImage" to the VisualElement
- onDisable not always called for SearchProvider
- Build failure errors are cleared in console before you can read them
- Sprite Library Editor contains corrupted and low resolution icons
Resolution Note (fix version 4.3.0-preview.4):
https://github.com/Unity-Technologies/com.unity.probuilder/tree/st/fix-poly-shape-undo
Resolution Note (fix version 4.3.0-preview.4):
https://github.com/Unity-Technologies/com.unity.probuilder/pull/264