Failed to load audio

i have victory aftermath and aftermath level up installed. Every time a battle ends instead of going to this screen i get "Failed to load: audio/bgm/undefined.ogg" and then it stays on that screen. Help would be appreciated.
That error means it failed to load the audio file set in the plug-in. Go to the plug-in and set it to use a file which is included in the game.

I've moved this thread to Plug-In support. Thank you.

i have both files for the song in my bgm folder though. i get the song for any music i load in the plugin, whether its original or dlc
Somehow though it isn't finding them. What directory is your project in? If the directory name isn't following networking rules it will fail to load. Also what is the file name? If that isn't following networking rules it will fail to be recognized and will fail as well.
Ok I don't want to derail, but this may SEEM like I am because it's a different plug-in, but it is a Yanfly plug-in. I'll post what happened, and what worked..

I was using weapon animations yanfly plug in, and I actually used one of our wonderful community contributors weapon sprite sheets (@whtdragon so awesome meow), and I did as the plug in instructed, and put the sprite sheets for the weapons in a custom named folder, and that didn't work. I put them in system with no weapons folder at all, and I think that worked. I also cannot check the box for unused files when I export or it breaks my game. > _ > I figure a few png files won't blow my file size out of whack so I'm not worried about it. I just need to trim all the other stuff out.

So maybe try like @bgillisp suggested and try putting the music in a different folder?
the project is in this pc>documents>games
Need more than that. Post the entire directory as it is spelled out by windows. We need that to see if it is following networking rules. If any %20 show up when you do that, it is not following networking rules and you will have to change the directory the game is in for it to work properly.
here it is
I'm guessing your audio file isn't named "undefined"? What plugin are you using? That undefined makes me think there is something wrong with the plugin variable storing the file name.
im using victory aftermath
That error is NOT missing a file, it means that you have not told a plugin which file to use.
It's a setting in the plugin properties that is wrong.

If it were missing a specific file or didn't find it, it would tell you the Name of the problematic file. But since it is tell ing you the filename is "undefined", it means that you forgot to tell a plugin which audio file to use.
It might even be a different plugin than you think - open the console (f8) when the error happens to see the full error sequence, and post a screenshot of it here if you can't read that list.
Ok, that directory looks fine, now what audio file did you tell the plug-in to use? You've never answered that question. Just I'm using Yanfly's Victory Aftermath doesn't answer that as YOU have to tell that plug-in what file name to use when it plays the audio.
im using scene7 from a dlc
but I've tried it with other audio files including vanilla ones and gotten the same result
@stickyicarus
Then you did something wrong when configuring that audio file.
Because as I described above that error message means that the plugin doesn't know which file to use.

Please show us screenshots of the plugin configuration so that we can check how you setup the file there.
here it is
From that it looks like your Victory Aftermath file is named: YEP_VictoryAftermath (1) - which would be a problem. It needs to be named YEP_VictoryAftermath. If you're not sure about changing stuff like that, just delete the file and redownload it from yanfly/reinstall it.
Please reorder yanfly's plugins into the correct order as required and posted on his Website (your order is wrong), then start a new game to test again.
Edit: and yes, make sure that all plugin files have their original names, that will also break their functions if they have the wrong filenames, overlooked that on first check.
changing the name seemed to fix it thanks guys!

Original thread: https://forums.rpgmakerweb.com/threads/failed-to-load-audio.95680/