Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes

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"
        }
      ]
    }
  ]

in General Discussion by Richard P. (140 points)

Please sign-in or register to answer this question.

...