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
Hello,

Can WAAPI's current version run with Wwise 2017.2.10?
I made sure to enable WAAPI in the user settings with a valid allowed origin but, each time I try a simple WAAPI script (in Python 3.6+) my console freezes.
If I open the same project with Wwise latest version it works.

Thank you,

Julien
in General Discussion by Julien R. (130 points)
retagged by Julien R.

1 Answer

0 votes
 
Best answer

yes, it should. 

First make sure you have the following user preferences:

Enable WAAPI: True
Allowed Origins: #unknown,#file
WAMP Port: 8080
HTTP Port: 8090

For instance, this python script should run with the latest waapi python client and Wwise 2017.2.10:

from waapi import WaapiClient
import pprint

# Connect (default URL)
client = WaapiClient()

# Return all targets
args = {
    "from": {"path": ['\\Actor-Mixer Hierarchy']},
    "transform": [
        {"select": ['children']}
    ]
}

options = {
    "return": ['name']
}
result = client.call("ak.wwise.core.object.get", args, options=options)
pprint.pprint(result)
by Bernard R. (Audiokinetic) (35.8k points)
edited by Bernard R. (Audiokinetic)
Thank you for your answer.

Yet the script still hangs when it reaches client = WaapiClient().
It works fine with wwise 2018.1.6 and wwise 2019.1.6.

Sadly I have to stick to 2017.2.10 for now.
Can you verify you have the following preferences:

Allowed Origins: #unknown,#file
WAMP Port: 8080
HTTP Port: 8090
My allowed origin was incorrect : I had 127.0.0.1,::1.
It works now.

Thank you very much for your help!
...