How can I get rid of the warning in the cast node?

Hi Robert342,

This warning is probably stating that PizzaDelivery does not inherit from Player Controller and therefore the cast will fail.
If you hover your mouse over the yellow warning banner on the node it will tell you what exactly it is warning you about.

It could also be that the Cast Failed pin is unconnected.

Again, you need to provide more info on the warning before a real answer can be given :slight_smile:

You either have a warning because Cast Failed pin is unconnected, wich would be solved similar to this:

Or your PizzaDelivery Blueprint is not inheritet from PlayerController and would therefor always fail!

Sorry for not giving all the information. I got it right now it was because, as you said, that PizzaDelivery does not inherit from Player Controller. Thanks :smiley:

Thanks it was that PizzaDelivery does not inherit from PlayerController