AudioSource NullReferenceException

Posted for “Jacob”…

In case anyone else gets this error, getting the AudioSource in Awake rather than Start fixed it for me.

2 Likes

Same for me too. Thanks for the advice!

Thanks for the help. All fixed.

Thanks Ben! Was having this problem and was annoying as heck. Everything still ran fine but just having a “red” flag is irritating.

Maybe you could put this solution on the Q&A section of the lesson for other students? I went through that and couldn’t seem to find the answer.

This just saved me when going through this lesson.

1 Like

Check m8 … me too ^^

1 Like

Thanks for this. It was driving me crazy.

Privacy & Terms