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. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

AudioSource PlayOneShot gives "Ran out of virtual channels"

Discussion in 'Unity 5 Pre-order Beta' started by Errorjack, Feb 9, 2015.

  1. Errorjack

    Errorjack

    Joined:
    Nov 14, 2013
    Posts:
    38
    I'm getting an error I've never gotten before, and only occurs in the Unity 5 beta. It involves the AudioSource, which I do have attached to the GameObject. When I try to PlayOneShot an AudioClip, it does play for the first time. Any other PlayOneShots afterwards are not heard.

    Once this occurs, Unity 5 will spit out a warning with:
    Ran out of virtual channels. Sounds will not be played.
    UnityEngine.AudioSource: PlayOneShow(AudioClip)


    Does anyone have any idea what is going on, and how this could be fixed?
     
  2. seattlebluesky

    seattlebluesky

    Joined:
    Sep 2, 2014
    Posts:
    170
    Last edited: Feb 9, 2015
    Errorjack and shkar-noori like this.
  3. Errorjack

    Errorjack

    Joined:
    Nov 14, 2013
    Posts:
    38
  4. shkar-noori

    shkar-noori

    Joined:
    Jun 10, 2013
    Posts:
    833
    it has been reported, but reporting it again means more people have the issue and they can fix it for the next beta. so please do report it.
     
  5. rhodnius

    rhodnius

    Joined:
    Apr 11, 2012
    Posts:
    1,332
    I have the same issue thought, im going also to report it.

    Thanks!
     
    shkar-noori likes this.