I want to stop a sound but in several case this sound is not created and then I have an error message.
What kind of test on the empty audio component I can do to avoid that ?
Thanks
That looks ok. IsPlaying or IsValid should do the trick. Could you be getting the error from elsewhere?
Thanks a lot ! IsValid is the solution