# How to manage load streaming in relation to Actors with BeginPlay?

**URL:** <https://forums.unrealengine.com/t/how-to-manage-load-streaming-in-relation-to-actors-with-beginplay/1215991>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [July 1, 2023, 1:40am UTC](https://forums.unrealengine.com/t/how-to-manage-load-streaming-in-relation-to-actors-with-beginplay/1215991 "2023-07-01T01:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TinyTracker1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TinyTracker1](https://forums.unrealengine.com/u/TinyTracker1)\
**Post date:** [July 1, 2023, 1:40am UTC](https://forums.unrealengine.com/t/how-to-manage-load-streaming-in-relation-to-actors-with-beginplay/1215991/1 "2023-07-01T01:40:17Z")

</div>

I have actors using BeginPlay but with level streaming. It is out of sync with other actors. Therefore some actors do not load. There appears to be no way to check when streamload is done at the start before firing “beginplay”. (and no I’m not hardcoding a check for “get streaming level”)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [July 1, 2023, 6:52am UTC](https://forums.unrealengine.com/t/how-to-manage-load-streaming-in-relation-to-actors-with-beginplay/1215991/2 "2023-07-01T06:52:01Z")

</div>

When the level has streamed, begin play will be called for the actors. But there’s no guarantee that it will happen in the same order as in a level you have open in the editor.

Basically, you have to code the actors to look for a sign that they are all ready to start. How exactly you do that is up to you.

You could have a central actor they all register with, which uses an event dispatcher when they’re all ready.

Another trick, is to change the tick group an actor is in

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/7/8/27870354a26d83f27c99f3aa233f7497707c630e.png)

That can force them to start in a predictable order.

---

<div class="post-metadata">

**Author:** ![TinyTracker1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TinyTracker1](https://forums.unrealengine.com/u/TinyTracker1)\
**Post date:** [July 3, 2023, 5:53pm UTC](https://forums.unrealengine.com/t/how-to-manage-load-streaming-in-relation-to-actors-with-beginplay/1215991/3 "2023-07-03T17:53:50Z")

</div>

You answered my question close enough.

I placed this on the gamemode blueprint.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/b/20b1c998003cf7eda470556846542c1d372fc163.png)

I applied this to player and enemy units. It references the gamemode blueprint. I don’t know if that is the right way to do things. That is what I did.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/6/8/668d367cbbdc35ef2f4c99275181e567cd3889eb.png)

I applied this to the game. Yep It is partially hardcoded. Oh well.

---

<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:** [August 2, 2023, 5:54pm UTC](https://forums.unrealengine.com/t/how-to-manage-load-streaming-in-relation-to-actors-with-beginplay/1215991/4 "2023-08-02T17:54:22Z")

</div>

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