PIE: Error: Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetComponentByClass_ReturnValue".



I get this error after I close the game whenever I try to use selection box (marquee) on friendly actors and hostile characters.
I’ve defined the hostile and friendly.

The code might execute the ‘get component by class’ even when the interface is not implemented.

Also, this

will return null when the actor has none of these components.

1 Like