Search Issue Tracker

In Progress

Fixed in 2023.1.0a21

Fix In Review for 2022.2.X

Votes

0

Found in

2022.2.0b14

2023.1.0a19

Issue ID

UUM-19179

Regression

Yes

Edit Mode recording Standalone Profiler crashes on StopAssetImportingV2Internal when reloading the domain

--

-

Reproduction steps:
1. Open any Unity project
2. Open a Profiler as a standalone process
3. Select Edit Mode as the target
4. Create/Update/Delete a C# script

Expected result: the Profiler does not crash
Actual result: the Profiler crashes

Not reproduced in: 2020.3.42f1, 2021.3.14f1, 2022.1.23f1
Reproduced in: 2022.2.0a1, 2022.2.0b14, 2023.1.0a19

Reproduced using: macOS Monterey 12.0.1 (Intel)

Note: in not reproduced versions “RefreshInternalV2 is called before InitialRefresh has been called and asset database isn't fully initialized“ errors are flooded in the Profiler Console after reproduction steps

First few crash stack frames:
#0 0x00000106124a00 in StopAssetImportingV2Internal(AssetDatabase::UpdateAssetOptions, InternalRefreshFlagsV2, ScanFilter const*, char const*)
#1 0x0000010586ba31 in Application::TickTimer()
#2 0x00000106cd9c29 in -[EditorApplication TickTimer]
#3 0x007ff807f0e930 in __NSFireTimer
#4 0x007ff80707f79f in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#5 0x007ff80707f28e in __CFRunLoopDoTimer
#6 0x007ff80707eded in __CFRunLoopDoTimers
#7 0x007ff8070653af in __CFRunLoopRun

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.