you already got that answer like 3 times here.
there is a delegate on the engine for when an actor is loaded i think, but i can’t recall if you can use that from bp, i’m almost certain you can’t and i don’t remember the name atm.
just make a base class, and on begin play you do this
- add a timer for next frame (because this is begin play the manager might not have gone through begin play)
- on next frame you GetAllActorsOfClass(MyManagerClass).get(0).MyFunctionToAddAnActor(self)
then the manager has a function “MyFunction…” that its public, and takes the actor.
stores it wherever it wants (make it transient please)
and has a delegate OnActorAdded and calls Broadcast or i think it’s Exec on bps. and pass the actor as parameter. you need to create your own delegate for this in the manager.
on your ui on OnInitialize (NOT on construct), you again put a timer for next frame, and getallactorsofclass(Manager). then bind to the OnActorAdded and do your stuff.