Issue building starter project
Hey, I'm having an error when trying to compile the starter project for the first time (following this section of the docs: https://docs.ficsit.app/satisfactory-modding/latest/Development/BeginnersGuide/project_setup.html#_project_compilation)
I'm getting this:
Project Setup :: Satisfactory Modding Documentation
Now that you’ve installed all of the prerequisite software and got a copy of the starter project, it’s time to start setting the...
Solution:Jump to solution
I guess it's a pretty hacky fix, but you can remove the
PreBuildSteps
entry from the .uproject27 Replies
(Identified known error ExitCode6MoreInfoNeeded in your logs matching
exited with code 6
)
Exit code 6 is just a generic failure message. If you'd like help with this error, make sure that you also share the rest of the output as described here:
https://docs.ficsit.app/satisfactory-modding/latest/Development/BeginnersGuide/project_setup.html#_the_command_exited_with_code_6
-# Responding to exitcode6moreinfoneeded
triggered by @SpoklooThat's the output I got from the Output > Build tab so I don't have further info I don't think
Yeah, the bot is meant to tell people that only post a screenshot of that "exited with code" thing
The specified path could not be found.Now which path does that refer to...
Yeah I'm not sure as well
Ah ok!
powershell -Command "$file = '$(ProjectDir)\Plugins\Wwise\Source\AudiokineticTools\Private\WwiseProject\AcousticTextureParamLookup.cpp'; if (Test-Path $file) { if (!(Select-String -Path $file -Pattern 'UE_LOG(LogAudiokineticTools, Warning,' -SimpleMatch -Quiet)) { (Get-Content $file) -replace 'UE_LOG\(LogAudiokineticTools, Error,', 'UE_LOG(LogAudiokineticTools, Warning,' | Out-File -encoding UTF8 $file } }"
This is what it's trying to run, to fix an issue with wwise
So I guess the only file would be $(ProjectDir)\Plugins\Wwise\Source\AudiokineticTools\Private\WwiseProject\AcousticTextureParamLookup.cpp
Unless it's referring to powershellThe file does exist and so does powershell 🤔
Maybe $(ProjectDir) is not the right one?
Check
C:\SatisfactoryModding\SatisfactoryModLoader\Intermediate\Build\Win64\x64\FactoryEditor\Development\PreBuild-1.bat
It should hopefully still exist even after the buildYep it does
Looks correct
What happens if you run that .bat (from cmd so that you can see the output before it closes)
No errors lmao
wtf
And no messages in cmd
I guess try building the project again?
Same error
Wtf
Solution
I guess it's a pretty hacky fix, but you can remove the
PreBuildSteps
entry from the .uprojectThen do I generate VS project files again?
Shouldn't need to, but doesn't hurt
Ok sure
It seems to be running smoothly for now
What is the command supposed to do? And should I readd it later or should I let it permanently deleted?
It fixes one line of a wwise file because it logs an error, which breaks Alpakit
It only needs to run once
Ah so when I ran it in powershell it should have worked right?
Hope it won't break it 🤞
Anyway thanks for you help
No problem
It seems to have failed again after 38min of wait
But I don't see any error messages this time, other than the exit code 6 thing
Try building again (do NOT rebuild) and see if there's errors
Oh thanks, that worked
That's odd, but it worked so ¯\_(ツ)_/¯
Yeah xD
I don't know if I should make another thread, but I've got an issue with alpakit when trying to package SML