Search Issue Tracker

Fixed

Fixed in 2022.3.11f1, 2023.1.17f1

Votes

0

Found in

2022.3.8f1

2023.1.8f1

Issue ID

UUM-47920

Regression

Yes

Crash on MonoScriptInfoScraper::SetupScriptingDomainCustomDependencies when scripts are recompiled

--

-

Reproduction steps:
1. Open the attached project “CrashRepro“
2. Enter the Play mode
3. If it does not crash exit and enter the Play mode again

Expected result: The Play mode starts
Actual result: Editor crashes

Reproducible with: 2022.3.0f1, 2022.3.8f1, 2023.1.8f1, 2023.2.0a16
Not reproducible with: 2021.3.29f1, 2022.2.21f1, 2023.3.0a3
Fixed in: 2023.2.0a17

Reproducible on: Windows 10
Not reproducible on: no other environment tested

First few lines of stack trace:

{noformat}0x00007ff6791bb203 (Unity) MonoScriptInfoScraper::SetupScriptingDomainCustomDependencies
0x00007ff67a6311a5 (Unity) CompileAndDomainReload
0x00007ff67a64fcf2 (Unity) RefreshInternalV2
0x00007ff67a657e9f (Unity) StopAssetImportingV2Internal
0x00007ff67a645e3d (Unity) InitialRefreshV2
0x00007ff679e597a6 (Unity) Application::InitializeProject{noformat}

  1. Resolution Note (fix version 2023.1.17f1):

    Fixed rate crash in SetupScriptingDomainCustomDependencies when domain reloading on a project with invalid assemblies loaded.

  2. Resolution Note (fix version 2022.3.11f1):

    Fixed rate crash in SetupScriptingDomainCustomDependencies when domain reloading on a project with invalid assemblies loaded.

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.