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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
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