Hello Guys,
Following is the error that we are getting when trying to deploy the game on the windows emulator.
Severity Code Description Project File Line Suppression State
Error The command ““E:\folder\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“E:\folder\projectnamefolder\project.lock.json” -bits=32 -removeDebuggableAttribute=False -path=”." -path=“…\Players\UAP\x86\Debug” “E:\folder\projectnamefolder\Assembly-CSharp-firstpass.dll” “E:\folder\projectnamefolder\Assembly-CSharp.dll” “E:\folder\projectnamefolder\Assembly-UnityScript.dll” “E:\folder\projectnamefolder\UnityEngine.dll” “E:\floder\projectnamefolder\Stores.dll” “E:\folder\projectnamefolder\UnityEngine.Analytics.dll” “E:\folder\projectnamefolder\winrt.dll” “E:\folder\projectnamefolder\GameSparks.dll” “E:\folder\projectnamefolder\P31RestKit.dll” “E:\folder\projectnamefolder\UnityEngine.UI.dll” “E:\folder\projectnamefolder\Tapjoy.dll” “E:\folder\projectnamefolder\ArabicSupport.dll” “E:\folder\projectnamefolder\Apple.dll” “E:\folder\projectnamefolder\GameSparks.Api.dll” “E:\folder\projectnamefolder\Common.dll” “E:\folder\projectnamefolder\UnityEngine.Networking.dll” “E:\folder\projectnamefolder\UnityEngine.Purchasing.dll”" exited with code 1. project name
Please let us know what is the problem and how can we fix the same.
NOTE: This is our first time developing for windows platform. We are targeting windows 10 platform.
Thank you,
Raviraj.
Hi,
switch to output tab in VS, it should have a more complete error message.
Hello Tautvydas,
Following is the log detail in the output window
Restoring NuGet packages…
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck ‘Allow NuGet to download missing packages during build.’
1>------ Build started: Project: projectname, Configuration: Debug x86 ------
1> UnityInstallationDir “C:\Program Files\Unity\Editor”.
1> UnityWSAPlayerDir “C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport”.
1> UnityProjectDir “E:\projectname_Windows”.
1> Copying unprocessed assemblies…
1> Running AssemblyConverter…
1> System.ArgumentNullException: Value cannot be null.
1> Parameter name: type
1> at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type, IGenericParameterProvider context)
1> at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type)
1> at Unity.ModuleContext.Retarget(TypeReference type, GenericContext context)
1> at Unity.ModuleContext.Retarget(MethodReference method, GenericContext context)
1> at Unity.FixReferencesStep.Visit(MethodDefinition method, GenericContext context)
1> at Unity.FixReferencesStep.Visit(TypeDefinition type)
1> at Unity.TypeDefinitionDispatcher.DispatchType(TypeDefinition type)
1> at Unity.TypeDefinitionDispatcher…ctor(ModuleDefinition module, ITypeDefinitionVisitor visitor)
1> at Unity.FixReferencesStep.ProcessModule()
1> at Unity.ModuleStep.Execute()
1> at Unity.FixReferencesStep.Execute()
1> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
1> at Unity.Operation.Execute()
1> at Unity.Program.Main(String[ ] args)
1>E:\projectname_Builds\projectname\projectname.csproj(284,5): error MSB3073: The command ““E:\projectname_Builds\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“E:\projectname_Builds\projectname\project.lock.json” -bits=32 -removeDebuggableAttribute=False -path=”." -path=“…\Players\UAP\x86\Debug” “E:\projectname_Builds\projectname\Assembly-CSharp-firstpass.dll” “E:\projectname_Builds\projectname\Assembly-CSharp.dll” “E:\projectname_Builds\projectname\Assembly-UnityScript.dll” “E:\projectname_Builds\projectname\UnityEngine.dll” “E:\projectname_Builds\projectname\Stores.dll” “E:\projectname_Builds\projectname\UnityEngine.Analytics.dll” “E:\projectname_Builds\projectname\winrt.dll” “E:\projectname_Builds\projectname\GameSparks.dll” “E:\projectname_Builds\projectname\P31RestKit.dll” “E:\projectname_Builds\projectname\UnityEngine.UI.dll” “E:\projectname_Builds\projectname\Tapjoy.dll” “E:\projectname_Builds\projectname\ArabicSupport.dll” “E:\projectname_Builds\projectname\Apple.dll” “E:\projectname_Builds\projectname\GameSparks.Api.dll” “E:\projectname_Builds\projectname\UnityEngine.Networking.dll” “E:\projectname_Builds\projectname\UnityEngine.Purchasing.dll”" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Thank you,
Raviraj.
According the error updating to newer version of Unity might help. We fixed something like that.
Hello Aurimas,
We are using Unity 5.3.4f1 Version only.
Thank you,
Raviraj.
Hello Guys,
We had installed the latest version of windows sdk but as said in the following link have reverted to the older version of the Windows SDK : LINK : Warning: Do not update to Windows SDK 10.0.10586.0 just yet - Unity Engine - Unity Discussions
So now the Output window is giving the following error.
Restoring NuGet packages…
To prevent NuGet from restoring packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck ‘Allow NuGet to download missing packages during build.’
1>------ Build started: Project: product, Configuration: Debug x86 ------
1> UnityInstallationDir “C:\Program Files\Unity\Editor”.
1> UnityWSAPlayerDir “C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport”.
1> UnityProjectDir “E:\productWindows”.
1> Copying unprocessed assemblies…
1> Running AssemblyConverter…
1> System.ArgumentNullException: Value cannot be null.
1> Parameter name: type
1> at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type, IGenericParameterProvider context)
1> at Mono.Cecil.ModuleDefinition.ImportReference(TypeReference type)
1> at Unity.ModuleContext.Retarget(TypeReference type, GenericContext context)
1> at Unity.ModuleContext.Retarget(MethodReference method, GenericContext context)
1> at Unity.FixReferencesStep.Visit(MethodDefinition method, GenericContext context)
1> at Unity.FixReferencesStep.Visit(TypeDefinition type)
1> at Unity.TypeDefinitionDispatcher.DispatchType(TypeDefinition type)
1> at Unity.TypeDefinitionDispatcher…ctor(ModuleDefinition module, ITypeDefinitionVisitor visitor)
1> at Unity.FixReferencesStep.ProcessModule()
1> at Unity.ModuleStep.Execute()
1> at Unity.FixReferencesStep.Execute()
1> at Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
1> at Unity.Operation.Execute()
1> at Unity.Program.Main(String[ ] args)
1>E:\productBuilds\product\product.csproj(284,5): error MSB3073: The command ““E:\productBuilds\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“E:\productBuilds\product\project.lock.json” -bits=32 -removeDebuggableAttribute=False -path=”." -path=“…\Players\UAP\x86\Debug” “E:\productBuilds\product\Assembly-CSharp-firstpass.dll” “E:\productBuilds\product\Assembly-CSharp.dll” “E:\productBuilds\product\Assembly-UnityScript.dll” “E:\productBuilds\product\UnityEngine.dll” “E:\productBuilds\product\Stores.dll” “E:\productBuilds\product\UnityEngine.Analytics.dll” “E:\productBuilds\product\winrt.dll” “E:\productBuilds\product\GameSparks.dll” “E:\productBuilds\product\P31RestKit.dll” “E:\productBuilds\product\UnityEngine.UI.dll” “E:\productBuilds\product\Tapjoy.dll” “E:\productBuilds\product\ArabicSupport.dll” “E:\productBuilds\product\Apple.dll” “E:\productBuilds\product\GameSparks.Api.dll” “E:\productBuilds\product\UnityEngine.Networking.dll” “E:\productBuilds\product\UnityEngine.Purchasing.dll”" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Hi, could you try latest patch release - Download Archive 5.3.4p5?
Hello Guys,
Will try with the latest patch release.
Thank you,
Raviraj.