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,

We've just switch to UE4.15 and in a dev packaged build using pak files we have a deadlock coming from the wwise plugin integration.

 

This is what I can see:

in CAkUnrealIOHookDeferred::Read the wwise critical section is locked. in the same function we start a read request in IORequestHandle->ReadRequest which will then lock the cache critical section. On a secon thread we receive a a read complete callback which will lock the cache crtical section and call the lambda... which want a lock on wwise critical section.

And here is the dead lock.

Has anyone seen that? Any fix on the way?

 Edit: actually it looks like the issue is also happening with the other operation such as close or cancel with the same behavior.

Cheers

 

Olivier
in General Discussion by Olivier G. (100 points)
edited by Olivier G.

1 Answer

0 votes

Hi,

I think we have seen a similar issue. I have only paused when the engine has gone stalemate, and then it's waiting in SoundEngine::LoadBank on the main thread and in FPakPrecacher::QueueRequest on the thread IOSchedThread.


For us it was temporarily resolved by disabled the new "Event Driven Loader" that comes enabled with 4.15. You can find this in Settings > Project Settings > Streaming > Event Driven Loader Enabled and uncheck that checkbox

I hope this helps you in the wait for 2016.2.4

Cheers,
Markus

by Markus R. (350 points)
...