When AudioSource was turned off, the sound continued to play, only lowering the volume.

[RequireComponent(typeof(AudioSource))] public class test : MonoBehaviour{ AudioSource audio1; void Start () { audio1 = GetComponent<AudioSource>(); audio1.Stop(); }} 

Closed due to the fact that it was off topic by aleksandr barakin , cheops , user194374, Nick Volynkin July 14 '16 at 4:20 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:

  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - aleksandr barakin, cheops, Community Spirit, Nick Volynkin
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    Is there any connection between the player and the background sounds? And then something is not very clear how it relates to the case ...... And it can only half subside because it is being reproduced by some other source - Alexey Shimansky

1 answer 1

As Aleksey Shimansky noted, I really had another AudioSource in the background. Removed it and the problem disappeared.