Why can't I call the protected method in a child class?

I renamed the method, and did the class’s repair, and searched without the context checkmark. But the most interesting thing is that I can override the method, but I can’t call it, it’s not in the search at all.


image

Where are you calling it from? You have it set as protected, maybe you need it to be public?

Also, you can’t copy and paste the node into a child bp. lol

A simple workaround, set the function to public, then compile, call it as you need, turn it back to protected.

1 Like

As of UE 5.2.0, this basic OOP feature still doesn’t work. The devs want people people to use Bluprints more than c++, but they don’t properly support it. Or maybe they simply forgot what “protected” specifier means in programming lol. You SHOULD be able to call protected methods from child BP’s , that is the whole point of “protected”.

1 Like