# How To Set Instanced Child Actors In Duplicated Blueprints

**URL:** <https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [December 16, 2024, 7:46am UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464 "2024-12-16T07:46:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [December 16, 2024, 7:46am UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/1 "2024-12-16T07:46:38Z")

</div>

Hello,

Let’s say I have Blueprint A with Child Actors 1, 2, and 3.  
Then I decide to duplicate Blueprint A → A’

What I noticed is if the Child Actors are called in Blueprint A’, instead of calling 1’, 2’, and 3’, Unreal still calls 1, 2, and 3, which is being used in Blueprint A.

To work around this, I have duplicated 1, 2, and 3, but this takes a long time, and I’m sure there’s a more efficient way to instance Child Actors in duplicated Blueprints.

(To better illustrate this, I’ll give the example of using child splines and Blueprints. In the duplicated Blueprints, instead of using the new splines, it calls the splines in the original Blueprint. So the objects teleport to where the original Blueprint is, instead of using the relative transforms of the duplicated blueprint.)

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [December 16, 2024, 10:08pm UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/2 "2024-12-16T22:08:50Z")

</div>

An Addendum:

If I had Child Blueprints or instances of the same Blueprint in the level, how would the Children Actors of those Blueprints behave?

Would Unreal automatically (re)-index them?

Because, if so, creating Children Blueprints may be better than duplicating them, altogether.

Again, with the Child Actor Splines, I’d imagine using multiple instances of the same Blueprint would HAVE to (re)-index those Child Actor Splines, because how would they work, otherwise?

😵‍💫

But I don’t know, so I’m hoping someone could enlighten me.

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [December 16, 2024, 10:26pm UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/3 "2024-12-16T22:26:55Z")

</div>

I would not use child actor components especially if you plan on sharing the child actor between blueprints. (it’s always been rather buggy especially with replication)

Why not just use a soft object reference and use “Attach Actor To Actor” or “Attach Actor To Component”

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [December 16, 2024, 10:37pm UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/4 "2024-12-16T22:37:08Z")

</div>

> [@3dRaven](#):
>
> I would not use child actor components especially if you plan on sharing the child actor between blueprints. (it’s always been rather buggy especially with replication)

I started in 2022, and I am a voracious learner, but experience is what I do not have, so, unfortunately, this was an unavoidable situation.

> [@3dRaven](#):
>
> Why not just use a soft object reference and use “Attach Actor To Actor” or “Attach Actor To Component”

The reason is because the splines need to be in specific locations, and I need to be able to see those locations as I edit them. Unfortunately, because the splines are attached to parents themselves, I can’t even use the default Transform anymore without starting over:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/c/24c5c95c6f17519a05d5051e915ecf6577b7eaf6.jpeg)

These are boarding and disembarking transforms for the player character as they get off and on trains.

If you are indeed correct, and I’m out of luck (and will have to roll up my sleeves), so be it. I’ll let the topic stew for a few days, and if neither you, I, nor anyone else comes up with a solution, I’ll credit you and mark this “solved”.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [December 16, 2024, 11:14pm UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/5 "2024-12-16T23:14:30Z")

</div>

I’ve run into a few problems like that in the past too.

You should be able to populate the splines ok - when you get the LocationAtDistanceAlongSpline, make sure to set it to world space, and then the same for your meshes when adding them.

Also, the CACs seem to call their ChildActors construction script at a time when things aren’t all set up - but if you move your code from the spline BPs construction script into a function, then in your main BP, call that function from its construction script:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/f/24f034d1ae2a231c6d7a2454fa1041d80aaeba4e.png)

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [December 16, 2024, 11:34pm UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/6 "2024-12-16T23:34:52Z")

</div>

Hello, Recourse,

I think I’m beginning to pivot (no pun intended), because this is confirming my concern about replication, and I really, REALLY don’t want to deal with bugs right now (be it Unreal or my own ignorance).

So, what I was planning on doing was, instead, creating multiple splines in a Blueprint, so if I were to duplicate that Blueprint, the splines, as with all local components, would be instanced/(re)-indexed.

The problem (as I shared with 3DRaven not long ago) is that when I call the Path of a Spline from a Blueprint in the Level Sequencer, I can’t figure out how to tell the Level Sequencer **which spline to use** ; it always uses the same spline.

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [December 17, 2024, 12:11am UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/7 "2024-12-17T00:11:39Z")

</div>

Yeah if you can pivot away from them - 3DRavens right that they don’t behave nicely with replication, if you can use other methods it will probably be less painful.

I posted that more as a reference, as I got the impression you wanted to keep them. I’ve been able to directly edit each spline in CACs in prefabs and populate them in editor and PIE by following those steps.

Wishing you minimal bugs and rapid development!

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [December 18, 2024, 7:50am UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/8 "2024-12-18T07:50:26Z")

</div>

@3dRaven , @RecourseDesign

So, someone at Epic has confirmed that we cannot have more than one spline in a Blueprint when using the Level Sequence:

> [@Get and Set Level Sequence Spline Path Behaviors In Blueprint](https://forums.unrealengine.com/t/get-and-set-level-sequence-spline-path-behaviors-in-blueprint/2220975/5):
>
> Unfortunately, there isn’t currently a way to specify which spline component to use. It just grabs the first one. Thanks for the feedback though, seems like a reasonably useful thing to support. Sorry about that, you’ll need to work around it for now, something like multiple blueprints with a spline component each.

This is a tough lesson. I’ll do it manually this time, but moving forward, when it comes to replication, I will NOT use Child Actors.

Thanks for the insight!

---

<div class="post-metadata">

**Author:** ![Leomerya12](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/leomerya12/32/926321_2.png) [@Leomerya12](https://forums.unrealengine.com/u/Leomerya12)\
**Post date:** [December 23, 2024, 5:59am UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/9 "2024-12-23T05:59:15Z")

</div>

@RecourseDesign , @3dRaven

This is an FYI:

So I just remembered something I did a while back, and that was to use the “Get\_Child\_Actor” node for something unrelated.

I tried it here, and, VOILA! The Child Actors are referenced like local components.

I’m still going to avoid Child Actors in the future for replication purposes, but maybe this will help someone else out. Replicating is annoying, in general, but totally possible with Child Actors. But, I feel this should be a last resort situation.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/a/8da5707848b0c3933abe1c04fac3ce3ed9e7e190.png)

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [January 22, 2025, 6:00am UTC](https://forums.unrealengine.com/t/how-to-set-instanced-child-actors-in-duplicated-blueprints/2224464/10 "2025-01-22T06:00:07Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
