How to reproduce:
1. Create and open a new Unity project with the "VR Core" template
2. Open Window>XR>OpenXR>Project Validation
3. Click the "Fix" button in the Project Validation window
Reproducible with: 9.1.0 (6000.1.0b3)
Could not test with: 2021.3.56f1, 6000.0.36f1 (no errors are thrown), 6000.2.0a1 (no VR Core template)
Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested
First few lines of stack trace:
0x00007FFC3921E798 (Unity) SerializableManagedRefTransfer::TransferScriptingObjectWithSerializedRefSupport<GenerateTypeTreeTransfer>
0x00007FFC39235FFD (Unity) MonoBehaviour::VirtualRedirectTransfer
0x00007FFC3931EBB0 (Unity) TypeTreeCache::GetTypeTree
0x00007FFC39312D5E (Unity) SerializedFile::ReadObject
0x00007FFC39312A86 (Unity) SerializedFile::ReadObject
0x00007FFC392F9823 (Unity) PersistentManager::ReadAndActivateObjectThreaded
0x00007FFC392F6D7E (Unity) PersistentManager::LoadObjectsThreaded
0x00007FFC392F6B08 (Unity) PersistentManager::LoadObjects
0x00007FFC3A87135E (Unity) ImportedAssetsReloadList::ReloadAssetInstances
0x00007FFC3A871495 (Unity) ImportedAssetsReloadList::ReloadImportedAssetIfLoaded