Community Q&A

Where Wwise users help each other out!

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

Bug: WAAPI gives me wrong project path

0 votes

While making Integration Demo the only open Wwise project, with this code, 

    with WaapiClient() as waapi:
        query = {
            'from': {'ofType': ["Project"]},
            'options': {'return': ['id', 'name', 'type', 'path']}
        result ='ak.wwise.core.object.get', query)
except CannotConnectToWaapiException:
    raise RuntimeError('WAAPI query failed with error: {}. Aborted'.format(CannotConnectToWaapiException))
The path I got with 
is not the actual project path on the file system, but more like where my code is located.
Is this a bug?
asked Apr 28, 2019 in General Discussion by Saul G. (220 points)

1 Answer

+1 vote

The answer is here:

Explanation: 'path' returns the path inside the Wwise project, while 'filePath' returns the operating system file path.

answered Apr 29, 2019 by Bernard R. (Audiokinetic) (30,200 points)
Thanks! That makes sense.