I’ve run into a really strange and annoying problem tonight when trying to spawn a second player for the first time. I have a single playable character BP at the moment for testing the basic mechanics, so I’m using 2 instances of it. The character spawns fine (no player controller attached at the moment) but if I try to attack it in any way, the character I’m using is registering the damage as well (though only the first character’s health bar is depleting) and when the health drops all the way, both instances of the character die???
To make sure, I set the second instance to be set as Player 1 rather than player 0 and I’ve also tried changing all instances of Get Player Controller to Get Controller to avoid having them look at the same source.
The health is completely setup and managed inside the Character Blueprint, not the controller.
I think the issue is resulting from the way I’m creating an Object Reference for use throughout the blueprints.
If this is indeed the case, is there a way I can modify this so that it doesn’t tie to a specific instance like this? Or do I need to get rid of this and just manually cast the 20+ times throughout?
Any help is greatly appreciated!