Can't use "Spawn actor from class" return value

I want to be able to set my “PlayerClassToSpawn” variable to a different Player on a button press.
However, the problem is when I use this variable in the class slot in the Spawn actor from class node, I cant use the return value anymore in the possess node.

Why is this? and how do I get around this problem?

1 Like

This is because you can only “possess” pawns or characters and since the “Spawn Actor From Class” node could potentially spawn a non-possessable actor it won’t allow you to use a node with it that is potentially incompatible. Below are screen shots explaining the issue and how to fix it.