I am trying to integrate sounds by following https://github.com/satisfactorymodding/Documentation/pull/359 guide draft. I've got to the point that I can successfully play AKAudioEvent in the Editor, but not in the game itself. In the log of the game I see the following (modRef:
TestMod
TestMod
, ak event:
Play_sample
Play_sample
, :
[2025.01.08-20.15.27:292][ 0]LogWwiseFileHandler: FWwiseFileCacheHandle::OnSizeRequestDone (0000020D62F88780): Streamed file "../../../FactoryGame/Content/WwiseAudio/TestMod_Soundbank.bnk" could not be opened.[2025.01.08-20.15.27:292][ 0]LogWwiseFileHandler: Warning: FWwiseFileStateTools::GetFileToPtr Failed to get FileCache instance while reading ../../../FactoryGame/Content/WwiseAudio/TestMod_Soundbank.bnk[2025.01.08-20.15.27:292][ 0]LogWwiseFileHandler: Error: FWwiseInMemorySoundBankFileState::OpenFile 3051154241 (TestMod_Soundbank): Failed to load SoundBank (../../../FactoryGame/Content/WwiseAudio/TestMod_Soundbank.bnk)....[2025.01.08-20.15.27:292][ 0]LogWwiseResourceLoader: Error: LoadEventResources: Could not load 1 prerequisites for Event Play_sample (1811189196). Unloading and failing.[2025.01.08-20.15.27:292][ 0]LogWwiseResourceLoader: Error: LoadEventAsync: Could not load Event Play_sample (1811189196) in language SFX (0)
[2025.01.08-20.15.27:292][ 0]LogWwiseFileHandler: FWwiseFileCacheHandle::OnSizeRequestDone (0000020D62F88780): Streamed file "../../../FactoryGame/Content/WwiseAudio/TestMod_Soundbank.bnk" could not be opened.[2025.01.08-20.15.27:292][ 0]LogWwiseFileHandler: Warning: FWwiseFileStateTools::GetFileToPtr Failed to get FileCache instance while reading ../../../FactoryGame/Content/WwiseAudio/TestMod_Soundbank.bnk[2025.01.08-20.15.27:292][ 0]LogWwiseFileHandler: Error: FWwiseInMemorySoundBankFileState::OpenFile 3051154241 (TestMod_Soundbank): Failed to load SoundBank (../../../FactoryGame/Content/WwiseAudio/TestMod_Soundbank.bnk)....[2025.01.08-20.15.27:292][ 0]LogWwiseResourceLoader: Error: LoadEventResources: Could not load 1 prerequisites for Event Play_sample (1811189196). Unloading and failing.[2025.01.08-20.15.27:292][ 0]LogWwiseResourceLoader: Error: LoadEventAsync: Could not load Event Play_sample (1811189196) in language SFX (0)
and when attempting to play the event:
[2025.01.08-20.18.22:879][837]LogAkAudio: Warning: Failed to post AkAudioEvent: Data for 'Play_sample' wasn't found. Make sure the GeneratedSoundBanks folder (C:/Program Files (x86)/Steam/steamapps/common/Satisfactory/FactoryGame/AK/AKFactoryGame/GeneratedSoundBanks/) exists and is properly set in the project settings.
[2025.01.08-20.18.22:879][837]LogAkAudio: Warning: Failed to post AkAudioEvent: Data for 'Play_sample' wasn't found. Make sure the GeneratedSoundBanks folder (C:/Program Files (x86)/Steam/steamapps/common/Satisfactory/FactoryGame/AK/AKFactoryGame/GeneratedSoundBanks/) exists and is properly set in the project settings.
I am not too familiar with UFS, but I've confirmed that
TestMod_soundbank.bnk
TestMod_soundbank.bnk
is in the generated
.pak
.pak
under
Content/WwiseAudio/TestMod_SoundBank.bnk"
Content/WwiseAudio/TestMod_SoundBank.bnk"
. Maybe it tries to load it from the base game for some reason?