Player Input Manager two players

I am using Player Input Manager (Join Players When Button Is Pressed) to instantiate two players. However, when Player1 moves their character, both characters move. I don’t want this to happen; I want each player to control only their own character.

To move the character, I am using Player Input (Invoke Unity Events).

NOTE: I’ve been trying to solve this for days without success. I’ve tried instantiating in several different ways, read the Input System manuals dozens of times, and explored the parameters of PlayerInputManager.JoinPlayer(), but nothing works. Has anyone successfully implemented two players?