Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.31f1

2023.2.0b12

2023.3.0a8

6000.0.0b11

Issue ID

UUM-52896

Regression

Yes

Crash on GameObject::QueryComponentByType(Unity::Type const*) const when opening project

-

Reproduction steps:
1. Open the attached "repro_IN-55528.zip" project
2. Observe the crash

Reproduced with: 2021.3.31f1, 2022.2.0a17, 2023.2.0a17, 2023.2.0b12, 2023.3.0a8
Not reproduced with: 2022.3.10f1, 2023.1.16f1, 2023.2.0a16
Fixed in: 2022.2.0a18

Reproduced on: macOS Ventura 13.4 (user's), Windows 10 (22H2)
Not reproduced on: No other environments tested

First few stack frames:
#0 0x00000103a43c20 in GameObject::QueryComponentByType(Unity::Type const*) const
#1 0x00000104e9c51f in GetSceneFromGameObjectOrComponent(Object const*)
#2 0x000001051b96fb in CollectSaveSceneDependencies::CollectWithRoots(UnityScene const&, dynamic_array<int, 0ul> const&, dynamic_array<int, 0ul>&, TransferInstructionFlags)
#3 0x0000010519e511 in CollectAllSceneManagerAndObjectIDs(UnityScene const&, dynamic_array<int, 0ul>&, TransferInstructionFlags)
#4 0x0000010519e054 in GenerateSceneFileIDs(UnityScene const&)

  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.