SOLVED - Found a bug where sound doesn't play unless refreshed

Alright, I have an event setup like this:


IT'S SUPPOSED TO BE ACTION BUTTON, NOT PARALLEL PROCESS. WAS TRYING SOMETHING.


B68lOau.png



YDylu9B.png



The SE doesn't play, for whatever reason. However, if I reset the game using F5 and do the same thing again, it plays when it's supposed to.


I have tried it with and without the preloader and webaudiocache plugins. I also tried putting a wait command after the SE, but no matter how long I make it it still fails to play the first time around.


Any ideas?


EDIT: It also works again if I delete the Self Switch and just try it a second time.


It doesn't work if I try and play the sound twice within the event.
Please show screenshots.  Your descriptions leave out a lot of information and us guessing at what you mean when you say some things isn't going to help you.
Got it, thought I could get away with it this time but I guess not xD
Where did you put the wait command?  And how long did you tell it to wait for?  Does the same thing happen in a brand new project with NO plugins added?
Nevermind it is definitely a plugin... that's ty. I'll have to find out which one and report back to the person who made it I suppose.


EDIT: It's FluidTimeStep that is causing the issue.


EDIT: Nevermind, it isn't. Hold on.
Sorry for the double post but I didn't want to keep updating that one post over and over.


It wasn't FluidTimeStep but I removed it since I'm using the upgraded MV anyway.


However, I found that once the SE has been loaded into the memory (it is also the same SE used in the menu) it works on the event just fine, even on the first start up. So that means it clears the cache every time I close the game essentially, right? So something is affecting it going into the cache in the event commands specifically.


EDIT: Sound Emittance. That's what it was.
Please don't double-post.  Not wanting to keep updating the same post is not a valid reason for double posting.


I don't believe audio is cached at all.  Only images.  Unless MV does it differently to the previous engines?
Alright I'll do that in the future.


The Preloader and WebAudioCache plugins cache audio and sound effects, I believe.

Original thread: https://forums.rpgmakerweb.com/threads/solved-found-a-bug-where-sound-doesnt-play-unless-refreshed.60689/