Search Issue Tracker

Fixed

Fixed in 4.5.2

Votes

0

Found in [Package]

4.5.1

Issue ID

XRMB-136

Regression

No

Standalone Profiler crash on GuidReservations::Reserve when it is opened on a specific project

Package: XR Management

-

Reproduction steps:
1. Open the attached project “CrashProj“ (optionally disable “_CustomAvatar“ in the hierarchy window to prevent unrelated crashes)
2. Open Standalone Profiler (Window > Analysis > Profiler (Standalone Process))

Expected result: Standalone Profiler is opened
Actual result: Standalone Profiler crashes

Reproducible with: 2022.2.0f1, 2022.3.61f1, 6000.0.46f1, 6000.1.0b14, 6000.2.0a8
Cannot test with: 2022.1.0a1, 2022.2.0b16 (crashes instantly when opening)

Reproducible with Windows 11
Not reproducible with: No other environment tested

Notes:
The project has a high chance of crashing every time the scene view is updated (for example, if the mouse is hovered over the scene view) if the “_CustomAvatar“ GameObject is active in the scene. (UUM-93061)
Removing the library folder seems to stop the crash from reproducing
Reextract the project for every version, as upgrading/downgrading affects reproduction

First few lines of stack trace:

{noformat}0x00007FFF32C87408 (Unity) core::base_hash_set<core::pair<core::basic_string<char,core::StringStorageDefault<char> > const ,Hash128,1>,core::hash_pair<core::hash<core::basic_string_ref<char> >,core::basic_string<char,core::StringStorageDefault<char> > >,core::equal_pair<std::equal_to<core::basic_string_ref<char> >,core::basic_string<char,core::StringStorageDefault<char> > > >::lookup<core::basic_string<char,core::StringStorageDefault<char> >,core::equal_pair<std::equal_to<core::basic_string_ref<char> >,core::basic_string<char,core::StringStorageDefault<char> > > >
0x00007FFF3425BBDC (Unity) GuidReservations::Reserve
0x00007FFF3424D8A4 (Unity) ImportAtPathV2
0x00007FFF342103E2 (Unity) AssetDatabase::ImportAtPath
0x00007FFF3423D2B0 (Unity) CreateFolderV2{noformat}

  1. Resolution Note (fix version 4.5.2):

    Added guards to prevent asset handling from secondary processes (Standalone Profiler)

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.