Community Q&A

Welcome to Audiokinetic’s community-driven Q&A forum. This is the place where Wwise and Strata users help each other out. For direct help from our team, please use the Support Tickets page. To report a bug, use the Bug Report option in the Audiokinetic Launcher. (Note that Bug Reports submitted to the Q&A forum will be rejected. Using our dedicated Bug Report system ensures your report is seen by the right people and has the best chance of being fixed.)

To get the best answers quickly, follow these tips when posting a question:

  • Be Specific: What are you trying to achieve, or what specific issue are you running into?
  • Include Key Details: Include details like your Wwise and game engine versions, operating system, etc.
  • Explain What You've Tried: Let others know what troubleshooting steps you've already taken.
  • Focus on the Facts: Describe the technical facts of your issue. Focusing on the problem helps others find a solution quickly.

0 votes
Hi I am trying to figure out how to create a new WorkUnit using the WAAPI for an automated asset import process.

Here is an example of what I am trying to send,

{
    'parent': "\\Actor-Mixer Hierarchy\\",
    'type': "WorkUnit",
    'name': "TestWorkUnit",
}

But I just get the response message "type is not supported".

How am I supposed to make new WorkUnits? I haven't been able to figure it out from the documentation available.
in General Discussion by Jake R. (130 points)

1 Answer

0 votes
 
Best answer

Creation of work units is currently not supported. This is mainly because creation of work units requires Source Control (perforce/svn) operations, which we do not support in WAAPI yet. You would need to create the files manually.

Support for creation of workunit has been added to 2018.1.2:
https://www.audiokinetic.com/library/2018.1.2_6762/?source=SDK&id=releasenotes.html

  • WG-38159 (WAAPI) Added support for Work Unit creation either directly through ak.wwise.core.object.create or as a parent of a sound object through ak.wwise.core.audio.import and ak.wwise.core.audio.importTabDelimited.
by Bernard R. (Audiokinetic) (35.8k points)
edited by Bernard R. (Audiokinetic)
Thank you Bernard. Not the answer I had hoped for but I appreciate the quick response!
Hi, is this still the case?  I'm having an issue with trying to create a WorkUnit object via WAAPI and I don't get a response.  With version 2017.2.5.
You are right, I updated the answer. It's been added with 2018.1.2.
...