Closed targrub closed 1 year ago
Your two problems are actually just one.
From the log, you can see that Init.bnk could not be loaded. The init bank must be there in order to be able to play sounds. You should generate the example soundbanks before trying to run any examples. Just generate them from Wwise, as you would for any wwise project in Unity or Unreal. The example Wwise project should already be setup so that they are properly exported in assets/soundbanks, which is the default path where bevy-rrise will look for them.
Linked to that, if you never generated the soundbanks (or changed where they are stored from the Wwise project settings), the required rr:*
bindings won't be generated as they depend on the soundbank generation metadata in the same folder.
I've added a line in the readme to make sure people don't forget to generate soundbanks before attempting to run or build the examples.
Examples now working fully, but my project, for which I have exported Init.bnk
and mybank.bnk
to myproject/assets
, doesn't find Init.bnk
or mybank.bnk
. Also exported were Init.txt
, mybank.txt
, PluginInfo.xml
, and SoundbanksInfo.xml
. I've also then copied the .bnk
and .txt
files to myproject/assets/soundbanks
. Still no go.
2022-09-04T15:22:43.299406Z ERROR bevy_rrise::plugin: Init.bnk could not be loaded; there will be no audio. Make sure you generate all soundbanks before running
2022-09-04T15:22:43.299643Z ERROR bevy_rrise::plugin: Unexpected Wwise error: "the operation failed"
Couldn't load SoundBank: "the operation failed"
I've also modified the Wwise "Project Settings | Soundbanks"
(after cleaning out assets
and assets/soundbanks
) to export to assets/soundbanks
with the same result.
Also my BANK_PATH system variable is pointing to c:\users\...\assets\soundbanks
and has no spaces in it.
cargo run --features="bevy/render bevy_easings rrise/AkParametricEQFX" --example doppler_drone
gets me the following error:For
music_visualizer
, there are a number ofcould not find 'xbus' in 'rr'
errors, etc., trying to compile.On my own project it reports being unable to load
Init.bnk
, showing as an Ak_Fail error in the debugger.I assume I'm not configured properly, but in what way?