Visual Studio Build Probleme

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?

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: c# - How to solve MapFileParser.exe exited with code -532462766 and cannot open input file GameAssembly.lib? - Stack Overflow

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?

In addition, there should be more information in Visual Studio “Output” Window. The contents of it might help us make more sense of it.

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!!! :slight_smile:

1 Like