The error was about inputting the wrong class type to the function. I’ve changed the TArray to use FindComponentByClass and extract only camera actors from the world, now it works fine.
The error was about inputting the wrong class type to the function. I’ve changed the TArray to use FindComponentByClass and extract only camera actors from the world, now it works fine.