For Each Loop Array not compatible with actor reference

So Im making a turn based combat system, when combat starts a sphere collider detects every actor in the radius and if they are of a certain class they get added to an array, but for some reason, it stopped working, it worked before but now its telling me an actor reference is not compatible with the character reference? I dont know if this is a bug or if I messed something up




Probably your Battle Actors array is not actually array of actors but BP_Character_Base.
You can either change your array to be an array of actors, or cast your actor to BP Character before adding it to an Array, like so:

That seemed to do the trick, thank you