Problem with skills able to target the wrong objects

Hey there, i'm new to rpg maker so this might be a dumb fix, but i couldn't find the answer when i tried looking it up, so i'm asking here :

When i try to test a fight, my skills can target any character on screen, despite being set to only 1 enemy or only 1 ally.

I used a lot of yanfly plugins and tried to deactivate all the ones that had to do with targeting, but it doesn't seem to fix my problem. It happens for all skills, whether it is the one i made myself with custom notetags or the basic default skills like the attack one.

I don't know where to look to fix it now, so any help would be appreciated. I can provide screenshots if needed.
Sounds like a plugin issue. Try pressing F12 as soon as you start the game and paste here any red messages that appear in the console window during your playtest. Alternatively you can share the project so I can debug.

I'm sure when you disable all the plugins it will start working.
Turn off all your plugins, then either one by one or in groups turn them on and playtest to see if it's behaving as it should. This way you can find the culprit. Since you're using yanfly plugins, make sure they are in the same order as they appear on the wiki or odd behaviors can happen. If all of that still doesn't work, take a screenshot of your plugin manager and report back.

Taking a stab in the dark, I would guess it's Yanfly's selection control plugin.

Edit: just a quick note, make sure you save and start up a new playtest after adding or changing plugin settings. The battle test function can skip some plugin initialization.
So it turns out i had already fixed the problem (it was indeed the selection control plugin) and just needed to restart the engine... Thanks for the answers, i'll be more careful next time

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-skills-able-to-target-the-wrong-objects.176401/