Search Issue Tracker

Duplicate

Votes

0

Found in

2022.1.0a15

2022.1.0b4

2022.2

Issue ID

1396634

Regression

Yes

Crash with PPtr<Transform>::operator->() when opening a scene

Scene Management

-

Reproduction steps:
1. Open the user's attached project
2. If it does not crash after opening, open scene 'Assets/mainScene'

Expected result: The scene/project is opened
Actual result: The Editor crashes

Reproducible with: 2022.1.0a15, 2022.2.0a3
Not reproducible with: 2019.4.35f1, 2020.3.27f1, 2021.2.10f1, 2022.1.0a14

Stack trace:
#0 GetStacktrace(int)
#1 DebugStringToFile(DebugStringToFileData const&)
#2 PPtr<Transform>::operator->() const
#3 PatchPrefabBackwardsCompatibility(AwakeFromLoadQueue&)
#4 MergeAllPrefabInstancesDuringLoad(AwakeFromLoadQueue*, TransferInstructionFlags, ErrorsAndWarningsCapture*)
#5 LoadSceneOperation::CompleteAwakeSequence()

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.