- Home /
Can't run game on Windows Metro becouse of error with dll's
Can't run game on Windows Metro because of error with dll's
When building in Unity to UWP or Windows 8.1 with or without C# debugging, I get a lot ~300 error’s but those disappear within the minute, they seem to be error’s about dll’s. It does creat a visual studio solution but when I run it, I get the following error:
Error The command ""C:\Users\Bauwens\Desktop\uwp c#\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\Users\Bauwens\Desktop\uwp c#\Drifty\project.lock.json" -bits=32 -configuration=Debug -removeDebuggableAttribute=False -path="." -path="C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\ARM\Debug" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Assembly-CSharp.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Assembly-CSharp-firstpass.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\UnityEngine.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Facebook.Unity.Settings.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Newtonsoft.Json.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\UnityEngine.Analytics.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Rewired_Core.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Microsoft.Data.Sqlite.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\UnityEngine.UI.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\GameSparks.Api.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\GameSparks.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\UnityEngine.Networking.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\MetroLog.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\HockeyAppPCL.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\BouncyCastle_GameSparks.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\Facebook.Unity.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\GameAnalytics.UWP.dll" "C:\Users\Bauwens\Desktop\uwp c#\Drifty\GameSparksRT.dll"" exited with code 1. Drifty C:\Users\Bauwens\Desktop\uwp c#\Drifty\Drifty.csproj line: 325
This is the code where the error pop’s up:
<Exec Command=""$(UnityWSAToolsDir)AssemblyConverter.exe" -platform=uap -lock="$(ProjectDir)project.lock.json" -bits=$(UnityBits) -configuration=$(Configuration) -removeDebuggableAttribute=$(RemoveDebuggableAttribute) -path="." -path="$(UnityWSAPlayerDir)Players\UAP\dotnet\$(PlatformTarget)\$(Configuration)" "$(ProjectDir)Assembly-CSharp.dll" "$(ProjectDir)Assembly-CSharp-firstpass.dll" "$(ProjectDir)UnityEngine.dll" "$(ProjectDir)Facebook.Unity.Settings.dll" "$(ProjectDir)Newtonsoft.Json.dll" "$(ProjectDir)UnityEngine.Analytics.dll" "$(ProjectDir)Rewired_Core.dll" "$(ProjectDir)Microsoft.Data.Sqlite.dll" "$(ProjectDir)UnityEngine.UI.dll" "$(ProjectDir)GameSparks.Api.dll" "$(ProjectDir)GameSparks.dll" "$(ProjectDir)UnityEngine.Networking.dll" "$(ProjectDir)MetroLog.dll" "$(ProjectDir)HockeyAppPCL.dll" "$(ProjectDir)BouncyCastle_GameSparks.dll" "$(ProjectDir)Facebook.Unity.dll" "$(ProjectDir)GameAnalytics.UWP.dll" "$(ProjectDir)GameSparksRT.dll"" /> <Message Importance="high" Text="AssemblyConverter done." />
Answer by GameSparks_Clare · Mar 01, 2017 at 02:23 PM
In Unity player Settings, make sure that Compilation Overrides is set to "Use Net core" and Input Source is set to "Core Window" - that should sort you out.
If you have any other Qs, or need any assistance on the Gamesparks end you can get in touch via https://support.gamesparks.net/ where we can respond to you quickly and directly.
Clare
Your answer
Follow this Question
Related Questions
Loading Windows 10 DLL. "This operation is only valid in the context of an app container" 1 Answer
Error while building (Windows store 8.1) 0 Answers
Build app unity for windows phone 8 or windows store app fail 1 Answer
Launching windows touch keyboard in editor 2 Answers
Editor on Windows 10 crashes when using a native dll; Build works, though 0 Answers