Unity Issue Tracker - Editor crash when removing GameObject and then pressing "undo" when using Game Creator
Closed
UUM-1827
Editor crash when removing GameObject and then pressing "undo" when using Game Creator
Unity: Scene Management
Backport
Won't Fix
2021.3.X
The original fix cannot be backported, so this port will need a separate fix which is too risky.
How to reproduce:
1. Open project "Finder for Game Creator 2.zip"
2. In the Hierarchy window select "GameObject"
3. In the Inspector window press the "Add Component" button and add the "Trigger" component
4. Go to Game Creator>Finder>Extensions>Core
5. Find "GameObject" and select it
6. Press the "Remove GameObject" button
7. Press Ctrl + z or command + z
Expected result: "GameObject" is returned
Actual result: Crash
Reproducible with: 2021.2.0b16, 2022.1.0a11
Not reproducible with: 2022.1.0a12, 2022.1.0a13
Could not test with: 2019.4.31f1, 2020.3.20f1, 2021.1.25f1 (Errors: "Assets/Plugins/GameCreator/Packages/Core/Runtime/Common/Save/Memories/Types/Light/MemoryLightColor.cs(28,46): error CS1026: ) expected",
"Assets/Plugins/GameCreator/Packages/Core/Runtime/Common/Input/InputSystem/Mouse/TInputButtonMouse.cs(53,34): error CS1002: ; expected")
Prioritise and Follow this issue
Have a workaround or additional info about this issue?