Reproduction steps:
1. Open users attached project
2. Select Assets/DependsOnSphere-c0 in the Project window
3. Drag Assets/SpherePrefab to the Source slot in the Inspector window
4. Right-click on the Assets/DependsOnSphere-c0 in the Project window
5. Select Reimport in the Pop-up window
Expected result: Asset is reimported
Actual result: Editor crashes
Reproducible with: 2021.2.0a17, 2021.2.7f1, 2022.1.0b5, 2022.2.0a2
Not reproducible with: 2020.3.27f1, 2021.1.26f1, 2021.2.0a16
Could not test with: 2019.4.35f1 (could not downgrade the Project)
Stack trace:
0x00007ff6870b5eaa (Unity) PersistentManager::InstanceIDToLocalSerializedObjectIdentifier
0x00007ff686fc37f0 (Unity) BackupState::ConvertYAMLInstanceIDToFileID::operator()
0x00007ff686fdb302 (Unity) BackupState::IterateYAMLTree<BackupState::ConvertYAMLInstanceIDToFileID>
0x00007ff686fdb33e (Unity) BackupState::IterateYAMLTree<BackupState::ConvertYAMLInstanceIDToFileID>