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

+1 vote

Greetings 

We've noticed a bug in the code located in AKaudiodevice.cpp. The problem is when you run the game in editor and have dedicated server running it crashes the entire game.  Regardless if the project is new or old. 

 

https://docs.google.com/document/d/19u1l9E3dvFuchU98I4AylhcTACOpi8p5ZcI3GhHN85g/edit?usp=sharing

 

^ These are errors from two separate projects one brand new and one that we have been working on for months. Each has it's own separate engine. 

My coder seems to have isolated the problem, it seems as if the listener is calling prior to the server populating. Ergo returning a listener as null. He suggests, from what he can see ; add a null check in the loop or the function does not get called until there are valid players. There could be more problems, but we noticed this when we were updating from 4.10 to 4.11.

 

-Rob

 

 

in General Discussion by Robert M. (4.6k points)

1 Answer

0 votes

We added the null check...

if (PlayerControllers[i] == nullptr)
    continue;
 
by Kartik S. (200 points)
...