Hello,
I can’t seem to be able to create an app with Unity for the Universal Window Platform 10.
I’ve downloaded VS2015 from Windows Dev Center | Microsoft Developer and installed it, making sure “Universal Windows App Development Tools” was selected with the SDK. Then I’ve installed Unity 5.2.0f2 from Unity Editor Beta Releases
Then I create a new project in Unity with a simple scene that contains one spinning cube. It runs fine in the editor, so I switch platform to “Windows Store”, then when I build and run it SDK “Universal 10”, I get this error:
Exception: Failed to build Visual Studio project. Output:
UnityInstallationDir “C:\Unity\U-5.2.0f2\Editor”.
UnityWSAPlayerDir “C:\Unity\U-5.2.0f2\Editor\Data\PlaybackEngines\metrosupport”.
UnityProjectDir “C:\Project\Test10”.
Copying unprocessed assemblies…
C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2048,5): error MSB3774: Could not find SDK “Microsoft.VCLibs.AppLocal, Version=14.0”. [C:\Project\Test10\Builds\Win10\Test10\Test10.csproj]
ApplicationLauncherImpl.RunMSBuild (System.String args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:273)
ApplicationLauncherImpl.Build () (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:169)
ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args, WSASDK wsaSDK) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:56)
ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:46)
UnityEditor.Metro.BuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:59)
UnityEditor.PostprocessBuildPlayer.Launch (BuildTarget target, System.String path, System.String productName, BuildOptions options) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:282)
UnityEditor.HostView:OnGUI()
I’ve followed this tutorial to create a simple hello world in visual studio 2015 (so not in unity) to target UWP, and it works fine for me: Learn how to create a "Hello, World!" UWP app (XAML) - UWP applications | Microsoft Learn so I’m assuming I have installed the SDK properly…
I can’t figure out what’s causing the problem in Unity. Any ideas?
Thanks,
Thomas