Can not play a disabled audio source UnityEngine.AudioSource:PlayOneShot(AudioClip). Pls Help Thx!

IEnumerator PlayAudio()
    {
        if (question.questionType == QuestionType.AUDIO)
        {
            questionAudio.PlayOneShot(question.qustionClip);

            yield return new WaitForSeconds(audioLenght + 0.5f);

            StartCoroutine(PlayAudio());
        }
        else
        {
            StopCoroutine(PlayAudio());
            yield return null;
        }
    }

9497998--1337524--image_2023-11-28_184304786.png

As you were told here previously, please edit your post to use code-tags: Trying to Invoke method: QuizManager.SelectedQuestion couldn't be called. Error

You should also reply to the forum help you received in your previous post. Please don’t ask for help then ignore your thread.

Thanks.

Okay