Hello. Trying build solution in Visual Studio... - Unity 5.5.1, win 10 desktop, IL2CPP backend, build (simple scene: camera, light, sphere) - ok - Visual Studio 2017 (with and w\o VS tools) build solution always same errors: 1. Error MSB3073 The command ""C:\Users\user\Desktop\sphere\Il2CppOutputProject\\IL2CPP\build\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=x64 -configuration=Debug -platform=winrt -outputpath="C:\Users\user\Desktop\sphere\\build\bin\x64\Debug\GameAssembly.dll" --data-folder="C:\Users\user\Desktop\sphere\\build\bin\x64\Debug\\" -cachedirectory="C:\Users\user\Desktop\sphere\\build\obj\il2cppOutputProject\x64\Debug\\" -generatedcppdir="C:\Users\user\Desktop\sphere\Il2CppOutputProject\\il2cppOutput" --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT -verbose" exited with code -532462766. 2. Error APPX0702 Payload file 'C:\Users\user\Desktop\sphere\build\bin\x64\Debug\SymbolMap' does not exist. 3. Error APPX0702 Payload file 'C:\Users\user\Desktop\sphere\build\bin\x64\Debug\GameAssembly.dll' does not exist. What's wrong?
Here is: 1>------ Build started: Project: Il2CppOutputProject, Configuration: Debug x64 ------ 1>Building GameAssembly.dll with MsvcWinRtToolChain. 1> Output directory: C:\Users\user\Desktop\sphere\build\bin\x64\Debug 1> Cache directory: C:\Users\user\Desktop\sphere\build\obj\il2cppOutputProject\x64\Debug 1>il2cpp.exe didn't catch exception: System.InvalidOperationException: Builder is unable to build using selected toolchain (MsvcWinRtToolChain) or architecture (Unity.IL2CPP.Building.x64Architecture)! 1> at Unity.IL2CPP.Building.CppProgramBuilder.Build() 1> at il2cpp.Program.DoRun(String[] args) 1> at il2cpp.Program.Run(String[] args) 1> at il2cpp.Program.Main(String[] args) 1> 1>Unhandled Exception: System.InvalidOperationException: Builder is unable to build using selected toolchain (MsvcWinRtToolChain) or architecture (Unity.IL2CPP.Building.x64Architecture)! 1> at Unity.IL2CPP.Building.CppProgramBuilder.Build() 1> at il2cpp.Program.DoRun(String[] args) 1> at il2cpp.Program.Run(String[] args) 1> at il2cpp.Program.Main(String[] args) 1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Users\user\Desktop\sphere\Il2CppOutputProject\\IL2CPP\build\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=x64 -configuration=Debug -platform=winrt -outputpath="C:\Users\user\Desktop\sphere\\build\bin\x64\Debug\GameAssembly.dll" --data-folder="C:\Users\user\Desktop\sphere\\build\bin\x64\Debug\\" -cachedirectory="C:\Users\user\Desktop\sphere\\build\obj\il2cppOutputProject\x64\Debug\\" -generatedcppdir="C:\Users\user\Desktop\sphere\Il2CppOutputProject\\il2cppOutput" --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT -verbose" exited with code -532462766. 1>Done building project "Il2CppOutputProject.vcxproj" -- FAILED. 2>------ Build started: Project: New Unity Project, Configuration: Debug x64 ------ 2>New Unity Project.vcxproj -> C:\Users\user\Desktop\sphere\build\bin\x64\Debug\New Unity Project.exe 2>New Unity Project.vcxproj -> C:\Users\user\Desktop\sphere\build\bin\x64\Debug\New Unity Project.pdb (Partial PDB) 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2261,5): error APPX0702: Payload file 'C:\Users\user\Desktop\sphere\build\bin\x64\Debug\SymbolMap' does not exist. 2>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\VisualStudio\v15.0\AppxPackage\Microsoft.AppXPackage.Targets(2261,5): error APPX0702: Payload file 'C:\Users\user\Desktop\sphere\build\bin\x64\Debug\GameAssembly.dll' does not exist. 2>Done building project "New Unity Project.vcxproj" -- FAILED. ========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Yeah, Unity 5.5.1 doesn't work with VS2017... It needs VS2015 to be installed on the machine. Could you try grabbing 5.6.1p3 patch release?
Yes, It works (5.6.1p3 + VS17 + IL2CPP)! Thank you again,Tautvydas-Zilys! But i have another question: I see 'development build' text everytime in Visual Studio playtest. But unchecked it in Unity. Is it normal?