MV Yanfly Victory Aftermath - breaks player BGM volume control

I'm having an issue where, after a battle using YEP_VictoryAftermath, the player can no longer control BGM volume using the Options menu.

Turning off the plugin and playtesting, the BGM volume control returns. Restoring a save game, or running a fresh playtest, allows control. It's once a battle is entered with the plugin activated, the volume control no longer functions -- the BGM remains at whatever level it is at.

Anyone familiar with this plugin have any thoughts?
Moved to: Plugin Support

Any chance the plugin uses any switches or variables, and that you've used the same switches or variables for something else?
I don't believe it uses any switches or variables that would be in use elsewhere in the project. It is a very "self-contained" plugin if that isn't too much of an oversimplification.

Here are the help files, if this is any assistance:

2021-05-28 23_35_59-.png



2021-05-28 23_36_11-.png



Not sure I should be posting the code itself since I'm not sure if Yanfly charges for this one.

The only thing I could figure is in the parameters, where you can set "BGM Volume" for the victory aftermath music:

2021-05-28 23_40_19-Plugin.png


Is it possible this is locking BGM Volume somehow?
👋 I quickly checked the code of YEP_VictoryAftermath v1.07 and I saw nothing that might cause this. I could not reproduce it with a quick test, either.

If you are using any other plugins, try this:
  1. Temporarily turn off all plugins except YEP_VictoryAftermath:
    • Ctrl+A to select all, right-click > Turn OFF;
    • Select YEP_VictoryAftermath, right-click > Turn ON.
    Turning off a plugin like this will not erase your settings for that plugin.

  2. Save your project to apply plugin changes before testing.
If that fixes it, then it's a code/plugin conflict. First, make sure your Yanfly plugins are in the recommended order, listed here:
Click+drag to rearrange plugins in the Plugin Manager, then save your project to apply changes before testing. (Aloe Guvner made a plugin that checks Yanfly plugin order but I'm not sure if it's up-to-date for the current YEP library.)

If you still have problems and want help identifying possible culprits, post screenshot(s) of your Plugin Manager showing the plugins you're using and the order they're in.
Thanks @caethyril I'm testing this now and will update here!
Great, hope you figure it out~
Welp -- not great news :LZSskeptic:

I tested this out with every single plugin disabled, and I'm still getting the same behavior -- BGM cannot be changed once the characters have engaged in any battle.

If I save and then restore, volume functionality is back. So bizarre.

What I've tried so far to no avail is switching to a different BGM track I made (same deal), and then to a stock RPGMV BGM track thinking maybe it's something wrong with my oggs (still same deal).

I'm using MV v1.4.1, but I don't see any mention of this issue in any changelog, or any forum for that matter. I will be trying out some later versions on another PC to help troubleshoot, but there are some plugin entanglements that prevent me from switching over totally, at least for now.

I don't recall making any hard changes to audio handling in the rpg_managers.js file, though who knows, perhaps it's possible at some point years ago I changed something before I was sensible enough to log any dangerous changes like that? In any case I've looked through the file and don't see anything that stands out as an obvious culprit, but I'm pretty unfamiliar with the core js in general. Here's a copy of my rpg_managers.js file if anyone is game to have a quick glance to see if anything seems askew.

Other than that, I'm stumped -- happy for any suggestions! :LZSsad::LZSgrump:

EDIT: Tried the project out on Mac, on 1.6.2, and the audio issue is no longer present. So, chalk this up to a 1.4.1 quirk? Would it be worth simply reinstalling 1.4.1 on my main PC -- lol why does the thought of that terrify me in a paranoid way!
I did a quick diff of your file with v1.6.2 and didn't find any obvious culprit(s). The problem might be in a different core script file, though...

Reinstalling your editor may help to fix any weird file corruption etc in your installation. It will probably also wipe any custom generator parts etc. It shouldn't have any direct effect on your project files, but if the problem is somehow related to how the playtest app accesses audio then reinstalling might fix it.

To refresh your project's core files (i.e. remove any edits and update to your current editor version), you can follow the instructions in this announcement, under "Updating your Projects":
I know the announcement is for v1.6.1, but it applies to all versions of the editor. If it doesn't seem to have any effect then you can just revert to the backup copy.


It might simply be related to 1.4.1, in which case I think the only realistic options are either:
  1. Update your editor and project to a newer version, then remove/replace any incompatible plugins; or...

  2. Stick with 1.4.1 and its problems.
😴

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-victory-aftermath-breaks-player-bgm-volume-control.136942/