Exit code 6 MSB3073
While setting up my environment in vs 2022, I went to go build FactoryGame and I got 1 build fail what exited with code 6.

Solution:Jump to solution
@Robb (PC no longer dead) @Rex [they/them] Thanks for your help! I uninstalled the engine and reinstalled it and realized that the win64 bin1 file was not in the same folder and that it could have messed up the build.
20 Replies
Note: "exit code 6" which appears in build logs is very unspecific - it typically means that building C++ failed for some other reason. If you'd like help with this error, make sure that you also share the rest of the build output as described here (or from the Alpakit Log tab if you're getting this at mod package time)
https://docs.ficsit.app/satisfactory-modding/latest/Development/BeginnersGuide/project_setup.html#_the_command_exited_with_code_6
-# Responding to
exitcode6moreinfoneeded
triggered by @user_112344121
can you send the copy-pasted contents of this text box?
Build started at 12:39 PM...
1>------ Build started: Project: FactoryGame (Games\FactoryGame\FactoryGame), Configuration: Development_Editor x64 ------
1>Using bundled DotNet SDK version: 6.0.302
1>Running UnrealBuildTool: dotnet "....\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" FactoryEditor Win64 Development -Project="D:\SatisfactoryModLoader-master\FactoryGame.uproject" -WaitMutex -FromMsBuild
1>Log file: C:\Users\karan\AppData\Local\UnrealBuildTool\Log.txt
1>Creating makefile for FactoryEditor (no existing makefile)
1>[FactoryEditor] FactoryGame: IsPublicBuild: 1 WithCheats: 0
1>Total execution time: 1.45 seconds
1>Plugin 'Wwise' (referenced via FactoryGame.uproject) does not contain the 'Wwise' module, but lists it in 'C:\Program Files\Unreal Engine - CSS\Engine\Plugins\Wwise\Wwise.uplugin'.
1>C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command ""C:\Program Files\Unreal Engine - CSS\Engine\Build\BatchFiles\Build.bat" FactoryEditor Win64 Development -Project="D:\SatisfactoryModLoader-master\FactoryGame.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "FactoryGame.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========
========== Build completed at 12:39 PM and took 04.972 seconds ==========
Note: "exit code 6" which appears in build logs is very unspecific - it typically means that building C++ failed for some other reason. If you'd like help with this error, make sure that you also share the rest of the build output as described here (or from the Alpakit Log tab if you're getting this at mod package time)
https://docs.ficsit.app/satisfactory-modding/latest/Development/BeginnersGuide/project_setup.html#_the_command_exited_with_code_6
-# Responding to
exitcode6moreinfoneeded
triggered by @user_112344121for the enviorment I used the SML.vsconfig provided in the modding documentation
Plugin 'Wwise' (referenced via FactoryGame.uproject) does not contain the 'Wwise' module, but lists it in 'C:\Program Files\Unreal Engine - CSS\Engine\Plugins\Wwise\Wwise.uplugin'.
it sounds like the wwise setup did not complete correctly, try doing the integrate wwise step again and make sure you used exactly the mentioned versiongot it
as in, that fixed it?
sorry not what I mean, I am going to integrate it again using the exact version mentioned in the documentation.
Here is the version I used 2022.1.10.8393.2898. Now I am getting this Error when trying to build FactoryGame
Note: "exit code 6" which appears in build logs is very unspecific - it typically means that building C++ failed for some other reason. If you'd like help with this error, make sure that you also share the rest of the build output as described here (or from the Alpakit Log tab if you're getting this at mod package time)
https://docs.ficsit.app/satisfactory-modding/latest/Development/BeginnersGuide/project_setup.html#_the_command_exited_with_code_6
-# Responding to
exitcode6moreinfoneeded
triggered by @user_112344121here is my folder structure

hm... for comparison, here is the start of one of my build logs:
so I am pretty sure the wwise line is the problem... but I haven't seen it before, and neither has discord search
- in the project plugins folder, is there a wwise plugin?
- it looks like you downloaded a zip, did you unblock the zip before extracting?
you could try the git clone approach instead of the zip download in case that somehow failed
Yes I did unblock the zip before I downloaded it. I'll go ahead and give cloning it from git a try and see how that goes.
There is a Wwise and WwiseNiagra plugin in the project plugin folder.
if that doesn't work, my next guess would be something going wrong with the engine install. sorry I don't have many ideas here...
It’s all good. I’ll see if this works and if not then I’ll reinstall the engine. Thank for the help and I’ll keep you updated
When I did the first build, my output looked very similar to your output expect I had that one error.
Did you integrate Wwise into the engine or into the project?
1>Plugin 'Wwise' (referenced via FactoryGame.uproject) does not contain the 'Wwise' module, but lists it in 'C:\Program Files\Unreal Engine - CSS\Engine\Plugins\Wwise\Wwise.uplugin'.
The C:\Program Files\Unreal Engine - CSS\
tells me you probably integrated Wwise into the engineYeah I integrated into the starter project. I can double check when I get home, but I integrated into the same folder as the starter project
Solution
@Robb (PC no longer dead) @Rex [they/them] Thanks for your help! I uninstalled the engine and reinstalled it and realized that the win64 bin1 file was not in the same folder and that it could have messed up the build.