Search Issue Tracker


Fixed in 2021.3.12f1



Found in




Issue ID




[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

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)

Comments (15)

  1. 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.

  2. NicholasCarlson

    Feb 04, 2023 16:37

    Definitely still happens 2021.3.11f, which is LTS sooo

  3. PixelCells

    Jan 14, 2023 14:32

    Happened to me at 2021.3.11f1

  4. 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

  5. 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?

  6. Bersaelor

    Oct 11, 2022 16:12

    Happened to me to in 2021.3.10f1 and 2021.3.11f1 too

  7. 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.

  8. 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.

  9. richardporteous

    Sep 30, 2022 17:13

    Windows 2021.3.10f1 LTS my crash report was labeled duplicate of this

  10. hawken

    Sep 26, 2022 06:23

    I'm seeing this also.

    Unity 2021.3.10f1
    macOS 12.6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.