Strange, seems some sort of delayed find...
What reason could there be if a BGM is not found but played anyway soon after?
RPG Maker MZ Supportyour question does not make any sense.
if a file is not found, then you get an error message and the game stops working - the BGM cannot be played later because the entire game is no longer operational.
if the BGM is played, then it has been found. That is a fact.
So if something happens that you don't understand, then don't assume you know what happened but describe it so we can identify it for you.
if a file is not found, then you get an error message and the game stops working - the BGM cannot be played later because the entire game is no longer operational.
if the BGM is played, then it has been found. That is a fact.
So if something happens that you don't understand, then don't assume you know what happened but describe it so we can identify it for you.
It's what happens, though...
...and underneath it...
Which lets me to continue playing, and soon after plays the BGM too. Also, it's random... most of the time it plays it without error, but sometimes that...
...and underneath it...
Which lets me to continue playing, and soon after plays the BGM too. Also, it's random... most of the time it plays it without error, but sometimes that...
Can you show us the event in your game that executes the BMG playing? Are you trying to play a BMG at all?
You could even be more specific and show us the supposed BMG file that it's playing then not playing.
I suspect something about the name input of the BMG file not matching. Sometimes I used to get errors like that when I would swap BMG's out or change names of the files without refreshing the coding in my actual game.
You could even be more specific and show us the supposed BMG file that it's playing then not playing.
I suspect something about the name input of the BMG file not matching. Sometimes I used to get errors like that when I would swap BMG's out or change names of the files without refreshing the coding in my actual game.
It's not an event, it's from the properties of the map... and show what, exactly? I use many BGMs, but it always seemed like it's only this one that does this... only difference it seems is a '-', dash, in the file name... could that be it? Oh, and maybe lack of underscores? Uses spaces instead...
Hello again! ☺️👍
First, this button appears regardless of the missing or corrupted Asset, so talk about the button without explaining clearly.
I'll guess, you hit the "Retry" button and the audio loads right away? :dizzy:
If so, you will have to be clearer, is your game in test mode, on hosting or on some mobile device?
Sorry, but it's very difficult to understand your problem.
First, this button appears regardless of the missing or corrupted Asset, so talk about the button without explaining clearly.
I'll guess, you hit the "Retry" button and the audio loads right away? :dizzy:
If so, you will have to be clearer, is your game in test mode, on hosting or on some mobile device?
Yes, the file names need to be exactly the same across everything. Basically what happens is that you have a file name in your music folder, like "Charles_01". And in your game, you coded it to where BMG: "Charles_01" will play at some event property or whatever.
Hence, if you edit or tamper with the music file to now say "-Charles_01", the game coding itself will still try and execute the original code of "Charles_01" which then crashes your game. The game crashes because it doesn't find the original name "Charles_01" in your BMG folder anywhere.
I suspect that might be the case, but I'm not too sure what exactly your "properties" are. What we're asking is if you could show us pictures/screenshots of your coding (or properties) in the game you're making so that we could possibly see if there's another issue at hand.
No, it had no underscores but it was still pinpointed to that same file, not one with underscores... it just never had them to begin with, and since it's the apparent difference between it and many others I have I wondered whether that is the problem... and no, I put in underscores instead of spaces and the error still comes up... I also removed the dash, and two square brackets too, to make the name similar to the others... still the error comes up...
Yeah, it loads almost right away... it's playtested, but I noticed it happens even if deployed already...
I was only able to simulate this error when I installed an HTTP mini-server on my computer. RMMZ's RPG_CORE consumes a lot more memory, so sometimes requests don't work.
But if the error happens by NWjs (Debug Mode) the problem may be on your computer.
Probably because there are other "Background" services consuming RAM and CPU. I advise reviewing your operating system.
Good luck
But if the error happens by NWjs (Debug Mode) the problem may be on your computer.
Probably because there are other "Background" services consuming RAM and CPU. I advise reviewing your operating system.
Good luck
So, you reckon it's a problem with resources, and depends on whatever the players have? How come then it seems to complain about a single BGM?
I'm sorry, you only clarified this in another comment, I ended up not reading it.
You said the problem could be a dash in the filename, at least you tried to name the song like BGM001.ogg?
It doesn't help much if you cut the filename in the error capture... I don't see any reason to hide this information...
There is a possibility that the file has some problem, why not try converting it to Mp3 and then back to OGG?
I believe that's why in the DLCs that come with the engine you have 3 options:
This is just a theory, there is probably a problem with the file itself.
Good luck
You said the problem could be a dash in the filename, at least you tried to name the song like BGM001.ogg?
It doesn't help much if you cut the filename in the error capture... I don't see any reason to hide this information...
There is a possibility that the file has some problem, why not try converting it to Mp3 and then back to OGG?
I believe that's why in the DLCs that come with the engine you have 3 options:
This is just a theory, there is probably a problem with the file itself.
Good luck
It was originally an MP3, actually. You think the bit rate should change?
I just presented the hypothesis, your asking if I think it's this left me a little confused, because I've already said that this is a possibility:
Original thread: https://forums.rpgmakerweb.com/threads/what-reason-could-there-be-if-a-bgm-is-not-found-but-played-anyway-soon-after.142119/