Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2019.4

2020.3

2020.3.7f1

2021.1

2021.2

Issue ID

1353505

Regression

No

Crash on Transform::CountNodesDeep() const when selecting GameObject after adding Animation Track to Timeline

-

Reproduction steps:
1. Open the user's attached project
2. Open Window -> Sequencing -> Timeline
3. Select Assets/GameObject.prefab in the Project Browser
4. In the Timeline window, right-click and add a new Animation Track
5. Select Assets/GameObject.prefab again

Expected result: The prefab is selected without issue
Actual result: The editor crashes

Reproducible with: 2019.4.29f1, 2020.3.15f2, 2021.1.17f1, 2021.2.0a8
Not reproducible with: 2021.2.0a9, 2021.2.0b7, 2022.1.0a5

Stack trace:
#0 0x0000010fc841bd in Transform::CountNodesDeep() const
#1 0x0000010fc77b6b in Transform::RebuildTransformHierarchy()
#2 0x0000010e7a6908 in AssetHotreload()
#3 0x000001119d7b63 in AssetHotreload(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID> > const&)
#4 0x00000111a99a78 in RefreshInternalV2(AssetDatabase::UpdateAssetOptions, ScanFilter const&, InternalRefreshFlagsV2)
#5 0x00000111a6e144 in StopAssetImportingV2(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const*)

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a9

Add comment

Log in to post comment