menu
 

La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

+1 vote
I have listener (AkAudioListener) attached in non-standard way - not to the camera but to the player object. After each new integration the code stubbornly deletes my listener not adding new one. The only way for me to get rid of this annoying behavior was to comment out all code that deals with adding/removing listeners.
dans General Discussion par Maciej M. (510 points)

1 Réponse

0 votes

Hi,

We had the same problem. The AkWwisePostImportCallback script calls Component.DestroyImmediate(akAudioListeners[0]); on line 245 in case the wwise setting "Attach Listener to Main Camera" is set to false.

The problem is it can delete your own AkListener even if it's not on the one on the main camera... We also temporarily solved this by comming the line out.
Maybe this should be solved in the next version ?
par Anthony D. (260 points)
...