Why can you not cast from actor pin but you can?

Hi.

I am confused regarding the other actor pin.
If you overlap a certain actor i want to cast to that actor as there are many. But i want to cast to a specific one.

If you pull from the actor pin the cast fails.
But if you set a variable to hold that actor reference and then pull from that variable to cast is successful.
I would have thought it should work either way.

Is this a bug or am i not understand what happens correctly?

This has been resolved. Since i recreated my project i am able to cast from the actor pin