Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.3.6f1

2023.3.0a15

6000.0.0b11

Issue ID

UUM-48990

Regression

No

Frequent Editor crashes when entering Play Mode on Transform::InitializeTransformHierarchyRecursive or GameObject::QueryComponentByType

--

-

Steps to reproduce:
1. Open the attached project "project.zip" with 2022.3.6f1
2. Press Shift + Alt + G
3. Enter Play mode
4. Exit Play mode
5. Enter Play mode again
6. Enter and exit play mode, then Unity will crash

Expected results: Editor does not crash
Actual results: Editor crashes

Reproducible with: 2022.3.6f1
Could not test on: 2022.3.9f1, 2023.1.12f1, 2023.2.0b9, 2023.3.0a5
Could not test on 2021.3.30f1 due to multiple third-party plugin conflicts after downgrading

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Notes:
-Issue might not be reproducible after upgrading since there are a lot more Exceptions outputted which should be taken into reproduction effectiveness
-Several stack traces outputted according to the Customer:
Case 1:
0x00000104733b30 in GameObject::QueryComponentByType(Unity::Type const*) const
#1 0x00000104ad1265 in UnpackPrefabInstanceRecursive(GameObject&)
#2 0x00000104ad12a8 in UnpackPrefabInstanceRecursive(GameObject&)
#3 0x00000104ad12a8 in UnpackPrefabInstanceRecursive(GameObject&)
#4 0x00000104ad12a8 in UnpackPrefabInstanceRecursive(GameObject&)
#5 0x00000104ad10a1 in DestroyObjectHighLevel_Internal(Object*, bool)
#6 0x00000104ace011 in DestroyObjectHighLevel(Object*, bool)

Case 2:
0x00007ff6a3ab8b46 (Unity) Transform::InitializeTransformHierarchyRecursive (at D:/UnitySource/unity/Runtime/Transform/Transform.cpp:2463)
0x00007ff6a3ab8b46 (Unity) Transform::InitializeTransformHierarchyRecursive (at D:/UnitySource/unity/Runtime/Transform/Transform.cpp:2463)
0x00007ff6a3ab8b46 (Unity) Transform::InitializeTransformHierarchyRecursive (at D:/UnitySource/unity/Runtime/Transform/Transform.cpp:2463)
0x00007ff6a3abe91c (Unity) Transform::RebuildTransformHierarchy (at D:/UnitySource/unity/Runtime/Transform/Transform.cpp:2254)
0x00007ff6a300d12b (Unity) AddMissingRequiredComponentsDuringLoad (at D:/UnitySource/unity/Runtime/Misc/GameObjectUtility.cpp:1227)
0x00007ff6a4b4035f (Unity) AwakeFromLoadQueue::AddMissingRequiredComponentsDuringLoad (at D:/UnitySource/unity/Runtime/Serialize/AwakeFromLoadQueue.cpp:179)

Case 3:
The engine fails to obtain a stacktrace

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

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.