Music Manager script doesn't seem to be running at all

When I run the program it never prints any of those Debug.Log’s onto the console screen, it seems like it’s completely ignoring the script. Any idea’s?

Can you run it and then take a screen shot, based on the code, and the empty array of audio clips I would expect it to generate an error, that may well stop your print statements from then firing. Lets see if the screenshot of it running gives us any clues :slight_smile:

Also, have the items in the hierarchy expanding when the game is running, lets see which game objects are actually in that scene (at run time).

This is the screenshot of it being run with the hierarchy expanded. Thanks for the quick help!

1 Like

Can’t believe I missed this in your first post… sorry… my bad… case-sensitivity is the issue here…

  • change void awake() to void Awake()

  • change void start() to void Start()

Sorry I missed this earlier (tired eyes!)

1 Like

Ok thank you, I was going insane there!!!

1 Like

hehe… no problem, kicking myself for not spotting it sooner and wasting your time with another screenshot…! :rolling_eyes: