Search Issue Tracker

Fixed in 2018.4

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, select the "Assembly-CSharp-player.dll" (so that it is visible in Inspector)
3. In Build Settings, switch target platform (tested with Win Standalone -> Xbox One)
-- Editor crash.

Reproducible with - 2018.1.0b1, 2018.3.0a1, 2018.4.3f1, 2018.4.12f1, 2019.1.0a2, 2019.1.14f1, 2019.2.0a1, 2019.2.0a4
Not reproducible with - 2017.4.29f1, 2018.1.0a5, 2019.2.0a5, 2019.2.12f1, 2019.3.0a1

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 ()
<...>

  1. Response avatar

    Resolution Note (fix version 2018.4):

    Fixed in 2018.4.14f1

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.