Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Visual Studio Build Probleme

Discussion in 'Windows' started by Meerie-Games, Oct 7, 2020.

  1. Meerie-Games

    Meerie-Games

    Joined:
    Sep 23, 2020
    Posts:
    5
    Hallo Unity Comunity!
    Jedes mal wenn ich meine App für die Microsoft Bauen wird, kommt immer dieser Fehler:

    Der Befehl ""E:\Tim Wulsch\Documents\Unity\Spiele\Running Fox BETA\Windows\V 0.3\UWP\Il2CppOutputProject\\IL2CPP\build\deploy\net471\il2cpp.exe" --libil2cpp-static --compile-cpp -architecture=x86 -configuration=Release -platform=winrt -outputpath="E:\Tim Wulsch\Documents\Unity\Spiele\Running Fox BETA\Windows\V 0.3\UWP\\build\bin\Win32\Master\GameAssembly.dll" --data-folder="E:\Tim Wulsch\Documents\Unity\Spiele\Running Fox BETA\Windows\V 0.3\UWP\\build\bin\Win32\Master\\" -cachedirectory="E:\Tim Wulsch\Documents\Unity\Spiele\Running Fox BETA\Windows\V 0.3\UWP\\build\obj\il2cppOutputProject\Win32\Master\\" -generatedcppdir="E:\Tim Wulsch\Documents\Unity\Spiele\Running Fox BETA\Windows\V 0.3\UWP\Il2CppOutputProject\\Source" --incremental-g-c-time-slice=3 --baselib-directory="D:\Unity\2020.2.0b2\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\il2cpp\x86\Master" --avoid-dynamic-library-copy --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 --relative-data-path=Data/il2cpp_data --map-file-parser="E:\Tim Wulsch\Documents\Unity\Spiele\Running Fox BETA\Windows\V 0.3\UWP\Il2CppOutputProject\\ IL2CPP-MapFileParser-MapFileParser.exe"wurde mit dem Code -532462766 beendet.

    Eingabedatei "E:'Tim Wulsch'Documents'Unity'Spiele'Running Fox BETA'V'V 0.3'UWP'build'bin'Win32'Master'GameAssembly.lib" kann nicht bereit.


    Wie Behebe ich diese Probleme?
     
  2. timke

    timke

    Unity Technologies

    Joined:
    Nov 30, 2017
    Posts:
    395
    Hi,

    I don't speak German and have to use Google Translate.

    The problem is with "MapFileParser.exe" fails with error: -532462766 - this is a very strange error.

    The file path:
    ...\\ IL2CPP-MapFileParser-MapFileParser.exe
    is also not correct but that does not appear to be the main problem.

    I found a StackOverflow post for this problem: https://stackoverflow.com/questions...ted-with-code-532462766-and-cannot-open-input

    The suggested fix (from someone at Microsoft) is to completely delete the Visual Studio project and build from Unity a new UWP project.

    A few other questions:
    Does "Build and Run" from the Editor work?
    Does building for x64 also fail with the same error?

    Lastly, can you please file a bug for this issue?
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,504
    In addition, there should be more information in Visual Studio "Output" Window. The contents of it might help us make more sense of it.
     
  4. Meerie-Games

    Meerie-Games

    Joined:
    Sep 23, 2020
    Posts:
    5
    Ok thank you the problem has been resolved! Thank you for your help! My game: Running Fox BETA made it to the Microsoft Store! Thank you!!! :)
     
    timke likes this.