Search Issue Tracker
Fixed
Fixed in 2021.3.12f1
Votes
68
Found in
2021.3.9f1
2022.2.0b7
2023.1.0a9
Issue ID
UUM-13617
Regression
Yes
[2021.3] Editor crashes on GetTransformAccess when undoing GameObject duplication
Reproduction steps:
1. Open any Unity project
2. Create any GameObject
3. Inside the created GameObject create a 3D Cube GameObject
4. Duplicate the 3D Cube GameObject
5. Undo
Expected result: Editor does not crash
Actual result: Editor crashes
Reproduced in: 2021.3.9f1
Not reproduced in: 2020.3.39f1, 2021.3.8f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a9
Reproduced using: macOS Monterey 12.0.1, Windows 10
Notes:
1. GetTransformAccess seems to be macOS related. Windows crash stack frames do not have it
2. Not reproduced when undoing duplication of an empty GameObject
First few stack frames (with 3D objects):
#0 Transform::GetTransformAccess()
#1 RendererUpdateManager::RemoveRenderer(Renderer&)
#2 Renderer::RemoveFromScene()
#3 Renderer::Deactivate(DeactivateOperation)
#4 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)
First few stack frames (with UI objects):
#0 Transform::GetTransformAccess()
#1 UI::CanvasRenderer::Deactivate(DeactivateOperation)
#2 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)
#3 GameObject::ActivateAwakeRecursively(DeactivateOperation)
#4 GameObject::Deactivate(DeactivateOperation)
First few stack frames (with light objects):
#0 Transform::GetTransformAccess()
#1 LightManager::RemoveLight(Light*)
#2 Light::RemoveFromManager()
#3 GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)
#4 GameObject::ActivateAwakeRecursively(DeactivateOperation)
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
- [Linux][Plastic SCM] "Access Denied" error when downloading Plastic SCM Cloud Edition through the Editor
- UpdateRendererBonudingVolumes process takes more time when disabled Renderers are used
- "ArgumentNullException: Value cannot be null" error is thrown when selecting a Visual Element with a custom Render Texture set as a background
- Changes are not saved when changing Styles' orders in the UI Builder
- “InvalidOperationException: Not enough space in output buffer (need 24, has 0)” error is thrown when using NativeList.GetVertices()
mdentonetc
Feb 27, 2023 18:33
I was told by my ticket issuer that this was fixed in 2021.12. But I'm using 2021.16 and it's still happening. Tested in 18 and also happening.
NicholasCarlson
Feb 04, 2023 16:37
Definitely still happens 2021.3.11f, which is LTS sooo
PixelCells
Jan 14, 2023 14:32
Happened to me at 2021.3.11f1
ZMKimu
Oct 21, 2022 15:25
funny, the answer is down 2021.310f1 and above,but i'm using f2 now and my question is undo a prefab then crash. or may he send to me a wrong reply? i will never undo before save project
HunterAhlquist
Oct 20, 2022 02:24
It says it was fixed in 2021.3.12f1, but I can't find any such build in the Hub or Archive sites. Is it not released yet?
Bersaelor
Oct 11, 2022 16:12
Happened to me to in 2021.3.10f1 and 2021.3.11f1 too
mostekcm
Oct 04, 2022 16:23
Agreed, undo crashing is really bad. It’s not like you can save right before undoing when the point of undo is to *not* save the latest change. Please fix with urgency.
JustATensai
Oct 03, 2022 19:58
My report was also marked duplicate of this. I'm using windows 2021.3.10f1 version. A very frustrating and crucial issue. Should be heavily prioritized and fixed as soon as possible.
richardporteous
Sep 30, 2022 17:13
Windows 2021.3.10f1 LTS my crash report was labeled duplicate of this
hawken
Sep 26, 2022 06:23
I'm seeing this also.
Unity 2021.3.10f1
macOS 12.6