I'm trying to create an event using Waapi from a C# function in Unity.
It seemingly works, I can see the new event in wwise, but I immediately get this error in the unity log.
TimeoutException: Timeout when receiving message.
Wamp.Receive (System.Int32 timeout) (at Assets/Wwise/API/Runtime/Handwritten/WAAPI/Wamp.cs:334)
This seemingly breaks the connection with wwise. After this I can't post any more waapi events and the wise picker is broken until I restart Unity.
Below is my API call and jsonQuery
AkWaapiUtilities.WaapiClient.Call(
ak.wwise.core.@object.create,
jsonQuery, null);
where jsonQuery is:
{
"parent": "\\Events\\Default Work Unit",
"type": "Folder",
"name": "E04S06",
"onNameConflict": "merge",
"children": [
{
"type": "Event",
"name": "E04S06_ENTROO_SERGEANT_002000",
"children": [
{
"name": "",
"type": "Action",
"@ActionType": 1,
"@Target": "\\Actor-Mixer Hierarchy\\VO Work Unit\\VO Sounds\\E04S06_ENTROO_SERGEANT_0020"
}
]
}
]
}