Search Issue Tracker

Fixed

Fixed in 2022.3.40f1, 6000.0.0b1

Votes

51

Found in

2022.3.14f1

2023.2.1f1

2023.3.0a15

6000.0.0b11

7000.0.0a1

Issue ID

UUM-57742

Regression

Yes

Crash in CollectManagedImportDependencyGetters inside OpenScene in batch mode

-

Every time this project tries to run its build script from inside Jenkins on 2022.3.0+, it crashes with the below callstack. It upgraded from 21.3, and had never seen the crash before the upgrade. 

Nobody on that project has seen it happen in any circumstances outside of Jenkins. 

Internal links in a comment below.

0x00007FF91227CF19 (KERNELBASE) RaiseException
0x00007FF89B8D064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FF89B8BC4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FF89B8BC57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message
0x00007FF89B8BC5E6 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:239] mono_assertion_message_unreachable
0x00007FF89B919BA2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\class.c:2214] mono_class_from_mono_type_internal
0x00007FF89BA811DC (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\reflection.c:448] mono_type_get_object_checked
0x00007FF89BA810E6 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\reflection.c:432] mono_type_get_object
0x00007FF6C1C91611 (Unity) scripting_class_get_object
0x00007FF6C3015212 (Unity) AssetDatabase::CollectManagedImportDependencyGetters
0x00007FF6C309ECFA (Unity) CalculateDependenciesOfOutOfDateAssets
0x00007FF6C30B1756 (Unity) AssetImportManager::Import
0x00007FF6C30B57F1 (Unity) ImportOutOfDateAssets
0x00007FF6C30C0509 (Unity) RefreshInternalV2
0x00007FF6C30C7D0F (Unity) StopAssetImportingV2Internal
0x00007FF6C30B49BC (Unity) ImportAtPathV2
0x00007FF6C3033D82 (Unity) AssetDatabase::ImportAtPath
0x00007FF6C14B3261 (Unity) AssetDatabase_CUSTOM_ImportAsset
0x000001A77406CE25 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.AssetDatabase:ImportAsset (string,UnityEditor.ImportAssetOptions)
0x000001A77406CD6B (Mono JIT Code) UnityEditor.AssetDatabase:ImportAsset (string)
0x000001A77406B1CB (Mono JIT Code) [E:\JenkinsWorkspace\BabystepPipelineBuild\babysteps\Assets\Tools\Scripts\Editor\BBSTileUtils.cs:336] BBSTileUtils:CreatePlayerVersionOfScene (string,bool,bool)
0x000001A774068F8B (Mono JIT Code) [E:\JenkinsWorkspace\BabystepPipelineBuild\babysteps\Assets\Tools\Scripts\Editor\GameBuilder.cs:379] GameBuilder:BakePlayerVersionOfScene (SECTR_Chunk,bool,bool)
0x000001A73FD1B533 (Mono JIT Code) [E:\JenkinsWorkspace\BabystepPipelineBuild\babysteps\Assets\Tools\Scripts\Editor\GameBuilder.cs:302] GameBuilder:RevertLoadedChunksAndBakeStaleScenes (bool,bool)
0x000001A73FD1AFFB (Mono JIT Code) [E:\JenkinsWorkspace\BabystepPipelineBuild\babysteps\Assets\Tools\Scripts\Editor\JenkinsBuild.cs:414] JenkinsBuild/<RevertLoadedChunks>d__51:MoveNext ()
0x000001A73FCC0FBA (Mono JIT Code) [.\Library\PackageCache\com.unity.editorcoroutines@1.0.0\Editor\EditorCoroutine.cs:80] Unity.EditorCoroutines.Editor.EditorCoroutine/YieldProcessor:MoveNext (System.Collections.IEnumerator)
0x000001A73FCC094B (Mono JIT Code) [.\Library\PackageCache\com.unity.editorcoroutines@1.0.0\Editor\EditorCoroutine.cs:134] Unity.EditorCoroutines.Editor.EditorCoroutine:ProcessIEnumeratorRecursive (System.Collections.IEnumerator)
0x000001A73FCC05A3 (Mono JIT Code) [.\Library\PackageCache\com.unity.editorcoroutines@1.0.0\Editor\EditorCoroutine.cs:115] Unity.EditorCoroutines.Editor.EditorCoroutine:MoveNext ()
0x000001A6F9A5F510 (Mono JIT Code) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()
0x000001A72812E615 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF89BADE0E4 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007FF89BA1EB84 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3066] do_runtime_invoke
0x00007FF89BA1ED1C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3113] mono_runtime_invoke
0x00007FF6C1C92534 (Unity) scripting_method_invoke
0x00007FF6C1C711B4 (Unity) ScriptingInvocation::Invoke
0x00007FF6C1C6BE05 (Unity) ScriptingInvocation::Invoke<void>
0x00007FF6C1DB2F0B (Unity) Scripting::UnityEditor::EditorApplicationProxy::Internal_CallUpdateFunctions
0x00007FF6C27B47D5 (Unity) SceneTracker::Update
0x00007FF6C28D7269 (Unity) Application::TickTimer
0x00007FF6C2D4A7BA (Unity) MainMessageLoop
0x00007FF6C2D4F8C0 (Unity) WinMain
0x00007FF6C41342FE (Unity) __scrt_common_main_seh
0x00007FF9149C7614 (KERNEL32) BaseThreadInitThunk
0x00007FF914B026B1 (ntdll) RtlUserThreadStart

  1. Resolution Note (fix version 6000.0.0b1):

    Fix not possible to fully verify

Comments (11)

  1. NuclearCookieTF

    Jan 25, 2024 11:04

    Is there a workaround for this?
    The issue has been open for over 5 months now.

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.