So i am trying to use ak.wwise.core.project.preClosed to simply color some work units and save the project afterwards but it doesnt seem to be working. It asks me about a lambda object, even though i am providign it, and afterwards there are a lot of errors due to wwise being disconnected. So i guess communication broke up too early or something.
Is there some sort of limitation on this topic? Can you please provide an example on how to use it?
EDIT: Just adding a simple code snippet of code that doesnt work:
handler_project_closed = client.subscribe("ak.wwise.core.project.preClosed", lambda object: simple_print_hi(object))
This throws the following error:
File ".....\PycharmProjects\WAAPI\venv\lib\site-packages\waapi\wamp\async_decoupled_client.py", line 152, in <lambda>
File "....\PycharmProjects\WAAPI\venv\lib\site-packages\waapi\client\event.py", line 56, in on_event
TypeError: <lambda>() missing 1 required positional argument: 'object'