So right now, at part 53 “Bool Variable For State’’ for the section Rocket boost My audio for crash nor success works after their methods are initiated, let me show you:
Hi Muhammad,
First of all, please check if PlayOneShot() works in Start(). You can simply copy and paste one of the concerning lines in your code. Then save your script, and test your game again.
If you hear the success or death sound in Start(), the problem occurs later. If you cannot hear the sounds but get the same warning message, the problem is already there.
Your screenshots look correct. The sound clips are assigned to their fields. Maybe there are more CollisionHandler components in your scene? Please check your game objects, and remove the superfluous CollisionHandler components.
Ye I found out that I actually had duplicates of my collision handler script causing the issue.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.




