Hello,
I am trying to use the Unity WAAPI client to subscribe to the "ak.wwise.core.project.saved" topic but I'm running into an issue where it always seems to fail and does not supply any reason as to why.
I connect correctly and perform a call to the core.object.get function fine immediately prior so I'm pretty sure that it's not an issue with anything else, I suspect it's how I'm meant to form the 'Options' argument, however for this particular subscription topic, there are no options to be provided and the whole unity client crashes if you pass in null for this value.
Here's the code in question:
if (AkWaapiClient.Subscribe("ak.wwise.core.project.saved", "", OnProjectSaved, out ulong subID, out string result))
{
UberDebug.LogChannel("Sound", "Successfully subscribed to wWise project changes!");
HLGEditor.EditorProjectPrefs.Local.SetInt(ProjectSavedSubscriptionID_PrefID, (int)subID);
}
else
{
UberDebug.LogChannel("Sound", "Failed to subscribe to wWise project changes!");
}
Any help would be absolutely fantastic as the documentation is very sparse around this subject unless I'm missing something!
Thanks a lot!