How do i fix "does not inherit from player controller"

I have a character blue print that runs in a multiplayer setting fine but i cant seem to get anything to cast damage to the character and when i try i get this error message.i am using a damage system that worked fine in my single player project

1 Like

The warning message is because you are trying to cast a PlayerController into a Character (never gonna happen)…

But, the solution is very simple! Just replace the “Get Player Controller” node with a “Get Player Pawn” node.

Hope this helps!

2 Likes

thanks alot mate, you’re an absolute legend

that solutions is working

You are indeed a king among men.

Came here for solution.Got it thanks @NachoMonkey2

what if the same error keeps appearing even if we put Get Player Pawn node?

Do you have a screenshot of the nodes?