Search Issue Tracker

Fixed

Fixed in 2022.2.2f1, 2023.1.0a21

Votes

0

Found in

2022.2.0a1

2022.2.0b15

2023.1.0a17

2023.2.0a1

Issue ID

UUM-21186

Regression

Yes

Standalone Profiler Crashes when opening because of asset database calls

--

-

Reproduction steps:

1. Create a new "VR Template" Project
2. Open "Window > Analysis > Standalone Profiler" from Context Menu

Expected Result: Standalone Profiler opens up on a seperate Editor instance without errors
Actual Result: new Editor instance crashes

Reproducible on: 2022.2.0a1, 2022.2.0b15, 2023.1.0a17
Not reproducible on: 2020.3.42f1, 2021.3.14f1, 2022.1.0b1, 2022.1.23f1

Reproduced with: macOS (Intel and Silicon)

Stack trace:
#0 0x0000010424dcd0 in StopAssetImportingV2Internal(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const*, char const*) 3
#1 0x000001042509e9 in void ImportAssetsV2_Internal<core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID> > >(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID> > const&, AssetDatabase::UpdateAssetOptions) 4
#2 0x000001041b8fbc in AssetDatabase::ImportAssets(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID> > const&, AssetDatabase::UpdateAssetOptions) 5
#3 0x0000010418ac1d in AssetDatabase::WriteRevertAssets(core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID> > const&, core::hash_set<UnityGUID, core::hash<UnityGUID>, std::__1::equal_to<UnityGUID> > const&) 6
#4 0x0000010418a6cb in AssetDatabase::SaveAssets() 7
#5 0x0000010230bf8f in AssetDatabase_CUSTOM_SaveAssets() 8
#6 0x0000019676d368 in (wrapper managed-to-native) UnityEditor.AssetDatabase:SaveAssets () [{0x7fabc49aa1a8} + 0x78] (0x19676d2f0 0x19676d40d) [0x14acc2a80 - Unity Child Domain]

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.