Hello,
To summarize the issue, Event ID's aren't recognized in my wwise integrated UE5 project until the event is manually played by right clicking the AKEvent asset and clicking the Play Event action in editor.
I have a wwise project with a single sound bank and 2 events. These events work as expected in the wwise project. I've integrated with Unreal 5 and successfully can play audio.
In my Unreal project I'm calling the events via the AudioDevice->PostEventOnActor function in c++, passing in the explicit event id for the event I'd like played. I have a properly named AK Event asset for each event. Right clicking play on these events works as expected.
This issue is that upon initially opening the project (or in a packaged build), attempting to post the event by ID at runtime results in "Event ID not found". However, if I right click and play any one of the the events in the content browser, it now locates the event's and plays as expected at runtime.
In troubleshooting I thought it may be related to the InitSound bank being loaded which doesn't contain a reference to these events, and that playing the event in editor via the AK action may be loading and caching the proper soundbank behind the scenes - however I can't confirm this and am finding conflicting information on if this current version requires me to explicitly load my Soundbank prior to posting the event with the introduction of Auto Defined Sound banks and EBP. It seems that this version of wwise stripped the ability to toggle EBP and auto asset sync on or off to test if it's related.
Any advice on this?
Details
Unreal Engine Project Version: 5.0
Wwise Integration 2022.1.0.7985.2398