Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Resolved No sound...

Discussion in 'VR' started by Akakiakaki, Oct 7, 2023.

  1. Akakiakaki

    Akakiakaki

    Joined:
    Feb 1, 2023
    Posts:
    6
    Hi all,

    I can't get sound at all in my oculus headset when I launch my game in game mode.
    I can't figure out what's wrong.
    Fun fact: when I enable "Hear VR audio from computer" in my oculus app, I can hear my game's sound in my computer's speaker... but nothing on my headset..
    Please help... what's wrong?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,852
    To double check, do other sounds in the headset work? Like try a video or free game.

    If that works, maybe update your quest, unity, oculus xr plugin, and/or oculus integration.

    Also check the audio settings in project settings

    If that doesn't fix it look for errors in logcat
     
  3. Akakiakaki

    Akakiakaki

    Joined:
    Feb 1, 2023
    Posts:
    6
    hello and thank you for you answer.
    Sound on headset is working fine, be it in other games or when using menus or receiving notifications...
    - Oculus drivers are up to date (did the update a couple of days ago)
    - Unity version is quite recent too (Unity 2022.3.10f1)
    - XR packages I use in my project: XR Core Utilities (2.2.3), XR interaction toolkit (2.5.2), XR Legacy input helper (2.1.10) and XR Plugin manager (4.4.0). They all seem up to date too...

    Here are the audio settings defined for my project:


    I really don't get it...
    Anyway: thank you for you answer!
     

    Attached Files:

  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,852
    Ah, you're using PCVR? Oculus runtime or SteamVR?
    In that case, maybe reinstall the oculus software if possible? And make sure you select the right audio output device.
     
  5. Akakiakaki

    Akakiakaki

    Joined:
    Feb 1, 2023
    Posts:
    6
    Right, I should have mentioned it.
    PCVR through Oculus link and oculus runtime.
    I’ll try reinstalling the software.
    What do you mean by « make sure you select the right output device »? Where can I double check this?
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,852
    The windows audio settings. Make sure the oculus one is selected so you can change and hear the audio there as well. Maybe the game routes to a disabled speaker
     
    Akakiakaki likes this.
  7. Akakiakaki

    Akakiakaki

    Joined:
    Feb 1, 2023
    Posts:
    6
    Ok. Thank you.
    I’ll reinstall the oculus software, check the windows audio settings et get back to you…
     
    DevDunk likes this.
  8. Akakiakaki

    Akakiakaki

    Joined:
    Feb 1, 2023
    Posts:
    6
    Hi again,
    Reinstalling the oculus software has solved the problem!
    Thank you very much for you suggestion: I kept on searching around the XR package or some configuration...
     
    DevDunk likes this.
  9. WilliamRisch

    WilliamRisch

    Joined:
    Nov 6, 2023
    Posts:
    1
    I had a similar problem in the past, and what helped me was ensuring that my game's audio settings were aligned with Oculus requirements.
     
    Last edited: Nov 24, 2023