Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio Play audio on game load without script

Discussion in 'Audio & Video' started by cyanjamgames_thomas, Nov 26, 2018.

  1. cyanjamgames_thomas

    cyanjamgames_thomas

    Joined:
    Oct 15, 2018
    Posts:
    18
    Is it possible to play an audio clip when the game loads without using a script or any coding?
     
  2. Hikiko66

    Hikiko66

    Joined:
    May 5, 2013
    Posts:
    1,304
  3. cyanjamgames_thomas

    cyanjamgames_thomas

    Joined:
    Oct 15, 2018
    Posts:
    18
    Thanks, I have it set to PlayOnAwake but can't hear anything?
     
  4. Docaroo

    Docaroo

    Joined:
    Nov 7, 2017
    Posts:
    82
    Need more info on this ... is it set to be a 3D sound? Volume set correctly? Is it output to any Audio Mixers?

    Screenshots would help too!
     
  5. cyanjamgames_thomas

    cyanjamgames_thomas

    Joined:
    Oct 15, 2018
    Posts:
    18
    Attached screenshot of my audio source object. As far as I know everything's set up correctly... and it's a 2D sound... thanks.
     

    Attached Files:

  6. cyanjamgames_thomas

    cyanjamgames_thomas

    Joined:
    Oct 15, 2018
    Posts:
    18
    Hang on, I seem to have fixed it. Tried messing about a bit, disabled the Audio Listener attached to the camera and made a new attached to my audio source object and now everything seems to be working properly.