How to detect collision between an actor and the player character without specifying the character blueprint?

Just make a “master” BP class for your character and create 2 “child” blueprints with different meshes to be your two different “characters”. So on overlap just cast to the “master” character BP and it will pick up either one.