Search Issue Tracker

Fixed

Fixed in 2022.3.25f1, 2023.2.19f1, 2023.3.0b4

Votes

1

Found in

2022.3.15f1

2023.2.4f1

2023.3.0a18

Issue ID

UUM-58461

Regression

Yes

Crash on GameObject::QueryComponentByType when opening a project

--

-

Reproduction steps:
1. Open project “save test.zip”
2. Observe the crash

Reproducible with: 2022.2.0a13, 2022.3.15f1, 2023.2.4f1, 2023.3.0a18
Not reproducible with: 2021.3.33f1, 2022.2.0a12

Reproducible on: macOS Sonoma 14.0 (Intel), Windows 10 (by the reporter)
Not reproducible on: no other environment tested

First few stack frames:

{noformat}#0 0x00000108645444 in GameObject::QueryComponentByType(Unity::Type const*) const
#1 0x00000109d96678 in MergePrefabInternal(Prefab&, PrefabInstance&, dynamic_array<ObjectData, 0ul> const&, dynamic_array<PrefabModification::AddedComponent, 0ul> const&, dynamic_array<PrefabModification::AddedGameObject, 0ul> const&, AwakeFromLoadQueue&, dynamic_array<ObjectData, 0ul>&, TransferInstructionFlags, bool, PrefabPPtrRemapper&)
#2 0x00000109d92c6c in MergeAllPrefabInstanceInfosDuringLoad(core::basic_string<char, core::StringStorageDefault<char>> const&, core::hash_map<PrefabInstance*, PrefabInstanceInfo, core::hash<PrefabInstance*>, std::__1::equal_to<PrefabInstance*>>&, AwakeFromLoadQueue&, TransferInstructionFlags, ErrorsAndWarningsCapture*)
#3 0x00000109d92609 in MergeAllPrefabInstancesDuringLoad(core::basic_string<char, core::StringStorageDefault<char>> const&, AwakeFromLoadQueue*, TransferInstructionFlags, ErrorsAndWarningsCapture*)
#4 0x00000108a63063 in LoadSceneOperation::CompleteAwakeSequence()
#5 0x00000108a6285a in LoadSceneOperation::CompletePreloadManagerLoadSceneEditor(){noformat}

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.