GetAllActorsOfClass not working as expected in BeginPlay

Manage your references, rather than trying to get all actors of class, make the targets add themselves into some array in GameMode or some other class in their begin play.

1 Like