Search Issue Tracker
Won't Fix
Fixed in 2020.3.X
Votes
0
Found in
2020.2.0a16
2021.1
2021.1.0a9
Issue ID
1298503
Regression
Yes
Editor Crashes when performing Undo and Redo after duplicating Game Object with LEGO Model Asset component
Reproduction steps:
1. Open the user's attached project
2. Duplicate "Platform" prefab from the hierarchy
3. Undo, then Redo, then Undo
Expected result: Pasting Platform is reverted
Actual result: Unity crashes
Reproducible with: 2020.2.0a16, 2020.2.0f1, 2021.1.0a10
Not reproducible with: 2018.4.30f1, 2019.4.17f1, 2020.1.17f1, 2020.2.0a15
Note: In order to reproduce instead of using the prefab, you have 2 other ways:
1: MENU_ITEM -> Import Model then proceed to step 2 with your new Game Object instead of the "Platform" prefab
2: Create a new Game Object, Add a LEGO Model Asset component, press "Reimport From New File", proceed to step 2
Stack trace:
#0 0x0000010cc0363a in (anonymous namespace)::AddAssetEvent((anonymous namespace)::ChangeEventType, Object const*)
#1 0x0000010cc07334 in ObjectUndo::Restore(bool)
#2 0x0000010cc09d95 in UndoManager::Apply(std::__1::list<UndoBase*, stl_allocator<UndoBase*, (MemLabelIdentifier)122, 16> >&, bool)
#3 0x0000010cc0a2f7 in UndoManager::Undo()
#4 0x0000010cae0370 in EditMenu::Execute(MenuItem const&)
#5 0x0000010c6acff2 in MenuController::ExecuteMenuItem(MenuItem&, MenuController::ExecutionCause)
#6 0x0000010d171a00 in EditorApplication_CUSTOM_ExecuteMenuItem(ScriptingBackendNativeStringPtrOpaque*)
-
kira8725584
Mar 12, 2024 18:06
Эй эй детка ты супер🩷🩷🩷🩷🩷🩷
-
eheimburg
Jul 08, 2021 19:01
Well, it's a known issue that it just flat out CRASHES in 2021.3, as listed in the "known issues" section of every LTS build. And since this is "won't fix"'ed that means the LEGO microgame is not supported in 2021.X either. And, it looks like, 2020.X either.
Which builds of Unity DO support your LEGO demo? Is it none? I think the answer is "none". So why isn't that reflected in the demo's marketing assets?
And really, why is this crash unmaintainable? You can't fix THIS stupid bug? REALLY?
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
- Scene View drop-down fields reopen when clicking them again to close it
- Crash on UnityEngine.Rendering.RenderPipelineAsset:InternalCreatePipeline when opening a specific project
- [STW 6.1] UI Builder Inspector fields get corrupted when docked UI Builder is maximized
- Pickers and ‘+'/’-' buttons are not visible on the right side of parameter fields when the width of the "Project Settings... -> Quality" window is small
- "AssertionException: Assertion failure. Value was False" error is thrown when unmaximizing a docked UI Builder Window
Resolution Note:
The LEGO microgame won't be supported in 2022.1
Resolution Note (fix version 2020.3):
Fixed in new version of LEGO Microgame Template