Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Audio Some audio not working when building to Windows

Discussion in 'Audio & Video' started by Razorlance, Jul 11, 2018.

  1. Razorlance

    Razorlance

    Joined:
    Aug 25, 2014
    Posts:
    10
    My game has several audio effects and 1 music track, these are connected to separate audio mixers which are in turn children of a master mixer. This lets me adjust the volume of effects and/or music and overall master volume via 3 UI sliders.

    This all works perfectly when in the editor however when i build it to the windows platform the music track and one of the audio effects don't play. The sliders still seem to work for the audio effects that do play, i.e. the master volume and effects volume.

    It seems like the audio files are somehow not being included in the build but I cannot see any assets in the data folder so have no idea how or where they are stored.

    I'm using Unity 2018.1 and Window 10, can anyone help?
     
  2. Razorlance

    Razorlance

    Joined:
    Aug 25, 2014
    Posts:
    10
    Well, I created a WebGL version of the game which worked perfectly, then went back and tried the Windows version again and, guess what... that worked perfectly too! I have no idea what went wrong but I'm glad it fixed itself!