Problems with audio files! Black screen!

Hello everyone!

Developing my first game. Everything worked fine until I started using audio. When loading a game on a local or remote server, a black screen appears with the following error - “Uncaught Error: There is no audio asset with key “theme” in the audio cache”.

Sometimes it happened that the game suddenly worked, but when the page was refreshed, the same result was returned.

Please help us solve this problem! I really want to develop games.

:wave:

Are you using multiple scenes? How are you loading assets?

1 Like

Code on github - https://github.com/rus4help/game_memory--phaser-js

I don’t see anything wrong, and I didn’t get the error when running it locally.

1 Like

I have an audio Downloader from the Internet. As soon as I turned it off, everything worked! That’s what happens in life… Thank you very much!!!

C’est la vie

1 Like