Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Resolved Audio not working: Not in play mode, not in scene view

Discussion in 'Audio & Video' started by yosefstudios, May 23, 2022.

  1. yosefstudios

    yosefstudios

    Joined:
    May 8, 2015
    Posts:
    131
    This is really odd, since audio is working on other projects. Not sure what could be wrong.

    It only works on Editor, if I go and select and play an audio file, it works, but that's all. No sound can be heard in play mode or in scene view (toggle audio on/off has no effect).

    None of the file extensions that I've tried work (OGG, WAV, MP3), but they do work on other projects.

    There are also no errors displayed in the console. Restarting doesn't change anything.
    It can't be an external package because I pretty much have the same packages that I have on other projects (even less). The project was created just a few days ago.

    It's a mobile project (Android), using Unity 2021.3.1 on URP.

    Does anyone else have this problem too?
     
  2. pixaware_pwedrowski

    pixaware_pwedrowski

    Joined:
    Oct 25, 2018
    Posts:
    116
    We can only guess - did you make sure that the game view is not muted or that AudioSource's volume isn't set to 0?
     
    yosefstudios likes this.
  3. yosefstudios

    yosefstudios

    Joined:
    May 8, 2015
    Posts:
    131
    Oh, I see lol, I completely forgot about the game view. I was using the device simulator. Yes, it was muted. Not sure when I muted it, but it was. Problem solved I guess?