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