Search Issue Tracker
Fixed in 2019.2.X
Votes
2
Found in
2018.2.0b10
Issue ID
1062258
Regression
No
Crash on AssetDatabase::GetAssetImporterVersions when closing a specific Unity project
How to reproduce:
1. Open the attached Unity project.
2. Close the project.
Expected result: Unity closes.
Actual result: Unity crashes.
Reproducible with - 2018.2.0a4, 2018.2.1f1
Not reproducible with - 2018.3.0a5
Could not test with - 2017.1.5f1, 2017.2.3p2, 2017.4.8f1, 2018.1.9f1 (project's scene was missing a prefab, which may have influenced the crash's reproduction),
2018.1.0a1, 2018.2.0a3 (the project did not load)
========== OUTPUTTING STACK TRACE ==================
0x0000000141FA51A0 (Unity) AssetDatabase::GetAssetImporterVersions
0x0000000141FD725F (Unity) AssetDatabaseV1::GenerateAssetImportersVersions
0x0000000141FEBF17 (Unity) AssetInterface::StartAssetEditing
0x0000000141FE564F (Unity) AssetInterface::Refresh
0x0000000141F9D690 (Unity) AssetDatabase::Refresh
0x000000014154F3E5 (Unity) AssetDatabase_CUSTOM_Refresh
0x000000001A0A25AE (Mono JIT Code) (wrapper managed-to-native) UnityEditor.AssetDatabase:Refresh (UnityEditor.ImportAssetOptions)
0x000000001A0A2493 (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\bindings_old\common\Editor\AssetDatabaseBindings.gen.cs:303] UnityEditor.AssetDatabase:Refresh ()
0x000000003BE90623 (Mono JIT Code) [C:\Users\marek\Downloads\case_1062258-Project_Upload3\Assets\Acoustics\Editor\AcousticsEditor.cs:195] Microsoft.Cloud.Acoustics.AcousticsEditor:OnDisable ()
0x0000000020850AA8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFED427A4DB (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FFED4201AE2 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2915] do_runtime_invoke
0x00007FFED420AACF (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2962] mono_runtime_invoke
0x0000000140C036EA (Unity) scripting_method_invoke
0x0000000140BFB920 (Unity) ScriptingInvocation::Invoke
0x0000000140BFB9DE (Unity) ScriptingInvocation::InvokeChecked
0x0000000140BB1DFC (Unity) MonoBehaviour::CallMethodInactive
0x0000000140BBDE35 (Unity) MonoBehaviour::WillDestroyScriptableObject
0x000000014098630A (Unity) CleanupAllObjects
0x0000000140986987 (Unity) CleanupEngine
0x0000000141437BC1 (Unity) Application::CoreShutdown
0x0000000141446729 (Unity) Application::Terminate
-
kegodin
Nov 02, 2018 22:32
Reproduced with 2018.2.13f1, requires specific plugin to be loaded and active but difficult to tell if plugin problem or Unity.
Console output in windbg:
Refresh completed in 0.467429 seconds.
Refresh: detecting if any assets need to be imported or removed ...
(4c10.40c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
Unity!AssetDatabase::GetAssetImporterVersions+0x40:
00000001`41faba80 488b38 mov rdi,qword ptr [rax] ds:00000000`00000000=????????????????
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2019.2):
Is fixed in 2019.3