Search Issue Tracker

Fixed in 2018.3

Votes

0

Found in

2018.1.0b8

2018.2.0f2

Issue ID

1067917

Regression

Yes

[IL2CPP] "Unity extensions are not yet initialized" errors are thrown when opening project with Target Platform set to UWP

Scripting

-

How to reproduce:
1. Open the attached project
2. In the Build settings window, switch the target platform to "Universal Windows Platform"
3. Reopen the project

Expected result: Console errors about unity extensions not being initialized are not thrown.
Actual result: Project loads with dozens of console errors about unity extensions not being initialized.

Reproducible with - 2018.1.0b8, 2018.1.9f1, 2018.2.0a1, 2018.2.5f1, 2018.3.0a1, 2018.3.0a9
Not reproducible with - 2017.2.3p3, 2017.4.9f1, 2018.1.0b7

Errors that are thrown:
Unity extensions are not yet initialized, so we cannot say if the <<dll file path>> is compatible with platform WindowsStoreApps
UnityEditorInternal.InternalEditorUtility:GetPrecompiledAssemblies(Boolean, BuildTargetGroup, BuildTarget)
UnityEditorInternal.InternalEditorUtility:GetMonoIslandsForPlayer() (at C:/buildslave/unity/build/Editor/Mono/InternalEditorUtility.cs:396)
System.Reflection.MethodBase:Invoke(Object, Object[])
SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit:CompilationUnits(String)
SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit:CompilationUnitsForPlayer()
SyntaxTree.VisualStudio.Unity.Bridge.ProjectFilePostprocessor:OnGeneratedSlnSolution(String, String)
UnityEditor.Modules.ModuleManager:RegisterAdditionalUnityExtensions()

Fixed in 2018.3.0b1

Comments (3)

  1. Dd63b1f7c45fb64c16f870bc63674807?d=mm

    ventsie

    Jun 24, 2019 08:54

    +1 for ALEXRAU's comment! I am unable to update, because the assets I am using do not support 2018.3. We need a different solution.

  2. 7558b1a01fddcb2254cf360ff6339494?d=mm

    dionysis

    Jun 07, 2019 13:53

    I saw this error on a system where I had forgotten to install the C++ for UWP Visual Studio components. As soon as I installed those components and restarted Unity, the issue went away.

  3. 14014699f49cf6202ccfea020988a7ed?d=mm

    alexrau

    Dec 18, 2018 01:12

    Not really a fix for those of us who use assets that need work for 2018.3. Wish I could spend more time developing and less time chasing an upgrade path. Maybe if there was a clean way to uninstall assets off asset store....

All about bugs

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