Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question unity 2D project not sounds

Discussion in '2D' started by tugbaydogdu92, Dec 27, 2020.

  1. tugbaydogdu92

    tugbaydogdu92

    Joined:
    Dec 20, 2020
    Posts:
    6
    Hello there. It may be simple but I have a big problem for me. The sound I added in the background of my game that I designed as unity 2D is not playing. what could be the reason I tried both wav and mp3 sound is not coming out.
     
  2. jonph964

    jonph964

    Joined:
    Jul 26, 2019
    Posts:
    3
    Maybe you don't have an audiolistener in your scene or maybe you have muted your audio source.
     
    tugbaydogdu92 likes this.
  3. tugbaydogdu92

    tugbaydogdu92

    Joined:
    Dec 20, 2020
    Posts:
    6
    I added game object audio sounds from there, I selected the sound that I included in my game, it does not play when I start it. what else to add
     
  4. tugbaydogdu92

    tugbaydogdu92

    Joined:
    Dec 20, 2020
    Posts:
    6
    audio source
     

    Attached Files:

    • mz.PNG
      mz.PNG
      File size:
      17.6 KB
      Views:
      275
  5. Aokkii

    Aokkii

    Joined:
    Nov 3, 2013
    Posts:
    117
    you need a audio listener on the player or camera

    and audiosource

    play on awake