The command ... AssemblyConverter.exe ..exited with code 1

Hello. I switch my project from Windows Universal 8.1 SDK to Windows Universal 10 SDK in Unity5.5.0f3 . Made Visual Studio 2015 project (as usual for Windows Universal 8.1 SDK) and got next errors:

  1. “Severity Code Description Project File Line Suppression State
    Error The command ““E:\Projects\UWP10\DnL\build\WSA\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“e:\Projects\DnLWsa\GI_0_0_0\project.lock.json” -bits=32 -configuration=Release -removeDebuggableAttribute=False -path=”.” -path=“C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Release” “e:\Projects\DnLWsa\GI_0_0_0\Assembly-CSharp-firstpass.dll” “e:\Projects\DnLWsa\GI_0_0_0\Assembly-CSharp.dll” “e:\Projects\DnLWsa\GI_0_0_0\Assembly-UnityScript-firstpass.dll” “e:\Projects\DnLWsa\GI_0_0_0\UnityEngine.dll” “e:\Projects\DnLWsa\GI_0_0_0\UnityEngine.UI.dll” “e:\Projects\DnLWsa\GI_0_0_0\UnityEngine.Networking.dll” “e:\Projects\DnLWsa\GI_0_0_0\Facebook.Unity.dll” “e:\Projects\DnLWsa\GI_0_0_0\P31RestKit.dll” “e:\Projects\DnLWsa\GI_0_0_0\SmartFox2X.dll”" exited with code 1. GI_0_0_0 e:\Projects\DnLWsa\GI_0_0_0\GI_0_0_0.csproj 286 "

  2. "1>------ Build started: Project: GI_0_0_0, Configuration: Release x86 ------
    1>e:\Projects\DnLWsa\GI_0_0_0\App.xaml.cs(100,4,100,62): warning CS0618: ‘ApplicationView.SuppressSystemOverlays.set’ is obsolete: ‘Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.’
    1> GI_0_0_0 → e:\Projects\DnLWsa\GI_0_0_0\bin\x86\Release\GI_0_0_0.exe
    1> UnityInstallationDir “C:\Program Files\Unity\Editor".
    1> UnityWSAPlayerDir “C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport".
    1> UnityProjectDir “E:\Projects\UWP10\DnL".
    1> Copying unprocessed assemblies…
    1> Running AssemblyConverter…
    1> Failed to fix references for method System.Void JPGEncoder::.ctor(UnityEngine.Texture2D,System.Single)
    1> Failed to fix references for type JPGEncoder
    1> System.Exception: Failed to resolve System.Threading.ThreadStart
    1> в Unity.ModuleContext.Retarget(TypeReference type, GenericContext context)
    1> в Unity.ModuleContext.Retarget(MethodReference method, GenericContext context)
    1> в Unity.FixReferencesStep.Visit(MethodDefinition method, GenericContext context)
    1> в Unity.FixReferencesStep.Visit(TypeDefinition type)
    1> в Unity.TypeDefinitionDispatcher.DispatchType(TypeDefinition type)
    1> в Unity.TypeDefinitionDispatcher…ctor(ModuleDefinition module, ITypeDefinitionVisitor visitor)
    1> в Unity.FixReferencesStep.ProcessModule()
    1> в Unity.ModuleStep.Execute()
    1> в Unity.FixReferencesStep.Execute()
    1> в Unity.Step.Execute(OperationContext operationContext, IStepContext previousStepContext)
    1> в Unity.Operation.Execute()
    1> в Unity.Program.Main(String[ ] args)
    1>e:\Projects\DnLWsa\GI_0_0_0\GI_0_0_0.csproj(285,5): error MSB3073: The command ““E:\Projects\UWP10\DnL\build\WSA\Unity\Tools\AssemblyConverter.exe” -platform=uap -lock=“e:\Projects\DnLWsa\GI_0_0_0\project.lock.json” -bits=32 -configuration=Release -removeDebuggableAttribute=False -path=”.” -path=“C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Release” “e:\Projects\DnLWsa\GI_0_0_0\Assembly-CSharp-firstpass.dll” “e:\Projects\DnLWsa\GI_0_0_0\Assembly-CSharp.dll” “e:\Projects\DnLWsa\GI_0_0_0\Assembly-UnityScript-firstpass.dll” “e:\Projects\DnLWsa\GI_0_0_0\UnityEngine.dll” “e:\Projects\DnLWsa\GI_0_0_0\UnityEngine.UI.dll” “e:\Projects\DnLWsa\GI_0_0_0\UnityEngine.Networking.dll” “e:\Projects\DnLWsa\GI_0_0_0\Facebook.Unity.dll” “e:\Projects\DnLWsa\GI_0_0_0\P31RestKit.dll” “e:\Projects\DnLWsa\GI_0_0_0\SmartFox2X.dll”” exited with code 1.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========”

What could be a problem?


Did the 8.1 project build fine?
This line I believe indicates the issue:
System.Exception: Failed to resolve System.Threading.ThreadStart

Looks like you’re using System.Threading.ThreadStart type in some of your assemblies:

1> System.Exception: Failed to resolve System.Threading.ThreadStart

Do you get any errors in Unity console when building your project?