MV YEP Selection Control - Must attack an ally

I'm using a plugins by Yanfly that seems to have a problem (very rarely): Selection Control. When using the keyboard to select the ally/enemy to attack, it gets stuck on an ally, or only allies. The mouse and touch screen does not seem to have this problem.

After playing for several hours, it has only happened for me twice. I know that if the mouse is hovering over a target, then it gets stuck on that target. That could be the cause, and it seems impossible to reproduce. I am usually careful on making sure the mouse is not hovering on the screen.

I am also still having a problem with the turn order images from Olivia's Order Turn Battle plugin, as was discussed here. ATT_Turan suggested there could be a memory leak, but I don't think I am using any plugins that could be causing that -- or at least not that that point in time. I can't reply to that thread due to the necroposting rule.

My plugin order can be somewhat questionable, but I did what seemed necessary to get everything to work. (e.g. The Hime common event queue plugin wasn't working when it was too low.)
Spoiler
plugins_7-24-2022.png
[ISPOILER][/ISPOILER]
I notice a couple of your Yanfly plugins are not in the correct order. You need to follow the order they're listed in on Yanfly's site, or you might get strange effects.
I notice a couple of your Yanfly plugins are not in the correct order. You need to follow the order they're listed in on Yanfly's site, or you might get strange effects.

I did try to make sure they are in the right order. Sometimes the plugin specifically states to be in a different order depending on certain factors. If you have something you see in particular, I can double check.

Edit: It looks like Base Parameter Control got moved somehow, so I will try moving that.

Edit: The victory aftermath plugin is in a different position because "If you have the YEP_VictoryAftermath plugin installed and wish to make use of the JP windows, position this plugin lower than YEP_VictoryAftermath in the Plugin Manager."

Edit: Here is the plugin setup after making some changes:

Spoiler: plugin order
plugins_7-24-2022b.png
Job Points has to be below Victory Aftermath, not above it.
Job Points has to be below Victory Aftermath, not above it.
As I already showed, this is false. If Victory Aftermath is above, then Job Points will show for the Victory Aftermath. I don't want it to show there because it is not relevant to every battle.
As I already showed, this is false. If Victory Aftermath is above, then Job Points will show for the Victory Aftermath. I don't want it to show there because it is not relevant to every battle.
Oh, you don't want it to show. Must've missed you saying that.

Back to the problem at hand, does the cursor not move at all, or only if you try to use the up and down keys to select someone? Selection Control actually has a bug that causes up and down not to work, forcing you to use the left and right keys. My buddy ATT_Turan has a fix for that, located here.

If it's not that, then it might be a plugin causing some issues, which would necessitate you doing a bit of bug hunting.
Oh, you don't want it to show. Must've missed you saying that.

Back to the problem at hand, does the cursor not move at all, or only if you try to use the up and down keys to select someone? Selection Control actually has a bug that causes up and down not to work, forcing you to use the left and right keys. My buddy ATT_Turan has a fix for that, located here.

If it's not that, then it might be a plugin causing some issues, which would necessitate you doing a bit of bug hunting.
None of the directions were working. It can also be a mouse hovering issue, like I said. I can't replicate the problem, so it will be a pain to fix this issue if it is more serious.

I can try disabling the mouse as well. If the mouse is causing problems and people don't know what is happening, then disabling the mouse can be a solution. It would be nice if it was easy for people to turn on and off mouse control, but the relevant YEP plugin doesn't seem to do that based on what I have seen.
I can't reply to that thread due to the necroposting rule.
You can always go back to your own thread. The rule about necroposting is to prevent someone else from derailing a thread, or bringing up issues that are no longer relevant. If it's still you and still your game, it's relevant.
Assuming this is just a problem with the mouse hovering, I think there is a simple solution in the Yanfly Battle Engine Core. It looks like the "mouse over" option is on by default and it is likely causing the problem.

mouse_over_battle_core.jpg

Original thread: https://forums.rpgmakerweb.com/threads/yep-selection-control-must-attack-an-ally.149777/