Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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,334
    I have the same issue thought, im going also to report it.

    Thanks!
     
    shkar-noori likes this.