How to reproduce:
1. Open the attached “IN-152086” project
2. Open the “SampleScene“
3. In the Hierarchy, select "Test (1)" and "Test (2)" at the same time
4. Execute the menu item "-- Test bug --” > “Test”
5. Observe the crash
Reproducible with: 6000.0.45f1, 6000.0.83f1, 6000.3.23f1, 6000.6.0f1, 6000.7.0a5
Could not test with: 6000.0.44f1 (no "-- Test bug --” menu item)
Fixed in: 6000.7.0a6 (console errors appeared but no crash)
Reproduced on: Windows 11
Not reproduced on: No other environment tested
First few lines of the stack trace:
0x00007FFE210B3547 (Unity) TypeTreeQueries::ReadStringFromBuffer
0x00007FFE210B3678 (Unity) TypeTreeQueries::ReadTypeNameFromBufferAndAdvance
0x00007FFE210B0DC0 (Unity) TypeTreeQueries::GetFullTypeNameFromReferencedType
0x00007FFE210B930E (Unity) TypeTreeQueries::WalkReferenceRegistryInstances<SerializedManagedReferencesIndex>
0x00007FFE210C8EB7 (Unity) SerializedManagedReferencesIndex::LookupByRefId