Search Unity

Audio triggered to play in scene OK but does not play when I go into it from another scene.

Discussion in 'Physics' started by Patrk, Mar 5, 2019.

  1. Patrk

    Patrk

    Joined:
    Apr 9, 2017
    Posts:
    48
    I have two scenes. In scene 2 I have an animated object colliding with another object, and triggering an audio source file. This audio plays fine when I view play it in just scene 2…but when I click into scene 2 from scene 1 the audio stops working/being triggered, any idea why this audio has stopped working?
     
  2. Patrk

    Patrk

    Joined:
    Apr 9, 2017
    Posts:
    48
    DontDestroyOnLoad fixed this.