It is no longer relevant to the author, but it may help someone else.
So, the solution!
-
Go to project settings → Collisions.
On the right, in the Trace Channels section, create a new channel. A small window will pop up where you will need to specify the name of the new channel and the default relationship to it. -
Go to your PlayerController, in the details section → mouse interface, change the default channel to the one we created.
-
Next, we go into the pawn collisions, turn off the Visibility channel to hell, turn on the Block to the new one we created.
Profit.
Pawns do not step on each other, and clicks and hovers work as normal.
Удачи