getAllActorsOfClass returns empty after packaging project

yes, it is for development.

the cast gives an error and i can see that since on the screen i have “failed to cast…” from the print string node