Questions et réponses de la communauté

Bienvenue sur le forum de questions et réponses d'Audiokinetic, propulsé par la communauté. C'est l'endroit où les utilisateurs de Wwise et Strata s'entraident. Pour obtenir une aide directe de notre équipe, veuillez utiliser la page « Tickets de soutien ». Pour signaler un bug, utilisez l'option Bug Report dans l'Audiokinetic Launcher. (Veuillez noter que les rapports de bug soumis au forum questions-réponses seront rejetés. L'utilisation de notre système de rapport de bug dédié garantit que votre rapport est vu par les bonnes personnes et a les meilleures chances d'être corrigé.)

Pour obtenir rapidement les meilleures réponses, suivez ces conseils lorsque vous posez une question :

  • Soyez précis : qu'essayez-vous de réaliser ou quel est le problème spécifique que vous rencontrez ?
  • Pensez à inclure les détails importants : incluez des détails tels que les versions de Wwise et du moteur de jeu, le système d'exploitation, etc.
  • Expliquez ce que vous avez essayé de faire : indiquez aux autres les mesures que vous avez déjà prises pour essayer de résoudre le problème.
  • Concentrez-vous sur les faits : décrivez les aspects techniques de votre problème. Se concentrer sur le problème aide les autres personnes à trouver rapidement une solution.

0 votes
I'm using Wwise 2014.1 in a Unity 4.5.5 project with the Oculus VR and Leap Motion Plugin. I load the AkAudioListener script onto an object between the left and the right camera of the VR system and it works the entire session. Howerever, after reopening the scene, the AkAudioListener has been removed. Is this a known behaviour and what is causing the issue?

EDIT: In Unity, Wwise settings are set as follows:

[ ] Create WwiseGlobal GameObject

[ ] Add Ak Audio Listener to Main Camera

So both are unchecked (intentionally). I don't want the AkAudioListener automatically placed to the Main Camera as I'm using an object in the middle of the Oculus VR rig.
dans General Discussion par David S. (150 points)

1 Réponse

0 votes
Thanks for reporting this, there is a bug with our Listener management code. It will be fixed in the next version of our integration.
par Benoit S. (Audiokinetic) (16.0k points)
edité par Benoit S. (Audiokinetic)
I'm getting this issue in my scene with Unity 5.1.2f1 and Unity Wwise integration 5.1.1.

When re-opening scene AkAudioListener script has disappeared.
It also disappears after building to another device and then coming back to editor. Eg. I add AkAudioListener to the listener object in my scene. I play in Editor = works great. If I build on Android it works = great! But when I return to that object after building it for Android the AkAudioListener has disappeared again.
My work-around solution to this problem is to attach this script to the AK Listener object in the scene. It will automatically attach the AkAudioListener script to the the object in runtime:


using UnityEngine;
using System.Collections;

public class AutoAttachAKAudioListener : MonoBehaviour {

    // Use this for initialization
    void Start () {
        gameObject.AddComponent <AkAudioListener>();
    }
}
...