Hello, I am trying to switch a Audio-Component’s parent Actor from ActorA (current) to ActorB (target). I have tried many things by using “AttachComponentToComponent”, “AttachActorToComponent”, tryed using “Detach” before attaching and also without detaching, and so on, without success…
I wil provide some screenshots, but I would like to know:
- Why does the Component not attach to the new Actor’s Root-Component?
- Is that even possible?
- Is there something special I need to consider when switching the component’s Actor?
Some more detailed informations:
- I create ActorB on runtime and try to attach the Audio-Component later on to that actor
- ActorB is currently a premade Actor with a Scene-Component as Root-Component
- ActorA gets destroyed after switching the parent of the Audio-Component, but I also tried it without destroying the Actor
- The Audio-Component is “playing sound” at the time I try to attach it to another component/actor
Here some screenshots:
- ActorA logic:
-
ActorA Components:
-
ActorB Components:



