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.
No description
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.
Jump to solution
20 Replies
FICSIT-Fred
FICSIT-Fred2d ago
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
Robb
Robb2d ago
can you send the copy-pasted contents of this text box?
user_112344121
user_112344121OP2d ago
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 ==========
FICSIT-Fred
FICSIT-Fred2d ago
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
user_112344121
user_112344121OP2d ago
for the enviorment I used the SML.vsconfig provided in the modding documentation
Robb
Robb2d ago
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 version
user_112344121
user_112344121OP2d ago
got it
Robb
Robb2d ago
as in, that fixed it?
user_112344121
user_112344121OP2d ago
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
FICSIT-Fred
FICSIT-Fred2d ago
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
user_112344121
user_112344121OP2d ago
here is my folder structure
No description
Robb
Robb2d ago
hm... for comparison, here is the start of one of my build logs:
Robb
Robb2d ago
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
user_112344121
user_112344121OP2d ago
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.
Robb
Robb2d ago
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...
user_112344121
user_112344121OP2d ago
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.
Rex
Rex2d ago
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 engine
user_112344121
user_112344121OP2d ago
Yeah 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
user_112344121
@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.

Did you find this page helpful?