Download

Get Player Control Blueprint Error

I’m trying to build a hint for user when entering trigger area for door. When you in there - render hint. Otherwise, do not. So it works fine when I enter there. And it actually works if I’m outside. But in the end it throws error “Accessed None trying to read property CallFunc_GetPlayerController_ReturnValue”.

It doesn’t make sense to me, since it was able to get control when user enters the trigger area. What can be wrong here?

Can you cast to your player on the overlap event and use the other actor as the reference and then call that function inside that character BP ?

I figured that using IsValid actually resolves the issue.