Change an Object's Outer?

Is it possible to dynamically change the “outer” object of a UObject?

For replication purposes I am currently trying to replicate UObjects by temporarily making them a subobject of a replicated actor, but according to this link my attempts are bound to fail, if I can’t move those UObjects from the transient package to the actor (and later back again).

I realize this question is a bit old, but I still wanted to give an answer, for anybody that finds this question: use UObject::Rename().


Thank you so much! I have been searching for this for weeks!

For anyone else attempting to re-parent components to other actors, this is the way to do it.

@bigbadbogie Glad to be of help! If you would please upvote my answer that would be most appreciated.