none
Unity 2019.2.10f1 IL2cpp + MRTK 2.0 + VS 19 cant make build getting following errors RRS feed

  • Question

  • Hi,

    I'm not able to make build for HoloLens 1.

    I'm using Unity 2019.2.10f1 + MRTK 2.0 + VS19+ Windows 10 1v903 with latest Windows SDK. Getting following erros

    Severity Code Description Project File Line Suppression State
    Error MSB3073 The command ""D:\Workspace\IMRHL 2 1072\Il2CppOutputProject\\IL2CPP\build\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=x86 -configuration=Release -platform=winrt -outputpath="D:\Workspace\IMRHL 2 1072\\build\bin\Win32\Release\GameAssembly.dll" --data-folder="D:\Workspace\IMRHL 2 1072\\build\bin\Win32\Release\\" -cachedirectory="D:\Workspace\IMRHL 2 1072\\build\obj\il2cppOutputProject\Win32\Release\\" -generatedcppdir="D:\Workspace\IMRHL 2 1072\Il2CppOutputProject\\Source"  --profiler-report --additional-defines=WINDOWS_UWP --additional-defines=UNITY_UWP --additional-defines=UNITY_WSA_10_0 --additional-defines=UNITY_WSA --additional-defines=UNITY_WINRT --additional-defines=PLATFORM_WINRT -dotnetprofile=unityaot -verbose --map-file-parser="D:\Workspace\IMRHL 2 1072\Il2CppOutputProject\\IL2CPP\MapFileParser\MapFileParser.exe"" exited with code -532462766.
    Il2CppOutputProject C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets 44

    and 

    Severity Code Description Project File Line Suppression State
    Error LNK1181 cannot open input file 'D:\Workspace\IMRHL 2 1072\build\bin\Win32\Release\GameAssembly.lib' IModelRendererHCI D:\Workspace\IMRHL 2 1072\IModelRendererHCI\LINK 1

    I'm not sure why I am getting MapFileParser.exe"" exited with code -532462766 I've checked if there's space %20 in proejct paths etc but there's not since my solution is completely loaded in VS 19.

    Also I checked my build files and found out that GameAssembly.lib is not generated that why it is not accessible.

    Any help would be appreciated.

    thank you.

    Friday, January 3, 2020 6:14 AM

All replies

  • Hi MigrationUser 1,

    Sorry for delay in reply.

    According to the log, you could try to install R16b NDK in your machine, then select it in the preference. And then you could also follow these video:

    Fix Error IL2CPP.exe Did Not Run Properly

    More Fixing Errors IL2CPP.exe Did Not Run Properly

    BTW, since it is out of our support, we recommend you could go to Unity forum, where you could get dedicated support.

    Thank you for understanding.

    Best Regards,

    Dylan

    Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. 

    Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, January 6, 2020 1:50 AM