Search Issue Tracker

Active

Votes

0

Found in

2018.3.0a1

2018.3.7f1

Issue ID

1164392

Regression

Yes

[Unity 2018] Editor crash on switching target platform when project contains a dll asset with a define constraint

Scripting

-

How to reproduce:
1. Open the attached "UnityUAP.zip" project
2. In the Project window, reimport the "Assembly-CSharp-player.dll" (right click -> reimport)
3. In Build Settings, switch target platform (from UWP to Standalone or from Standalone to UWP)
-- Editor crash.

Reproducible with - 2018.1.0b1, 2018.3.0a1, 2018.4.3f1, 2019.1.0a2
Not reproducible with - 2017.4.29f1, 2018.1.0a5, 2019.1.0a3, 2019.1.8f1, 2019.2.0b7, 2019.3.0a7

Stack trace:
(mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2642] mono_jit_runtime_invoke
(mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2919] do_runtime_invoke
(mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2966] mono_runtime_invoke
(Unity) scripting_method_invoke
(Unity) ScriptingInvocation::Invoke
(Unity) RegisterPrecompiledAssembly
(Unity) InternalEditorUtility_CUSTOM_RegisterPrecompiledAssembly
(Mono JIT Code) (wrapper managed-to-native) UnityEditorInternal.InternalEditorUtility:RegisterPrecompiledAssembly (string,string)
(Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Modules\ModuleManager.cs:400] UnityEditor.Modules.ModuleManager:InitializePackageManager (System.Reflection.Assembly,Unity.DataContract.PackageInfo)
(Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\Modules\ModuleManager.cs:287] UnityEditor.Modules.ModuleManager:RegisterPackageManager ()
<...>

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.