# Cooked build: Embedded Level Instance of a streaming-disabled WP level duplicates always-loaded actors at runtime 

**URL:** <https://forums.unrealengine.com/t/cooked-build-embedded-level-instance-of-a-streaming-disabled-wp-level-duplicates-always-loaded-actors-at-runtime/2856142>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [October 15, 2026, 10:56am UTC](https://forums.unrealengine.com/t/cooked-build-embedded-level-instance-of-a-streaming-disabled-wp-level-duplicates-always-loaded-actors-at-runtime/2856142 "2026-10-15T10:56:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 15, 2026, 10:56am UTC](https://forums.unrealengine.com/t/cooked-build-embedded-level-instance-of-a-streaming-disabled-wp-level-duplicates-always-loaded-actors-at-runtime/2856142/1 "2026-10-15T10:56:26Z")

</div>

Summary

When a streaming-disabled World Partition level is placed as an “Embedded” (Partitioned) Level Instance inside a level that is itself loaded at runtime as a NON-main World Partition (e.g. a Standalone level instance, or a region streamed in by a game), the target’s always-loaded (non-spatially-loaded) actors are materialized TWICE at runtime.

What duplicates

Any always-loaded actor in the target: a non-spatial StaticMeshActor, PostProcessVolume (Unbound), SkyLight, SkyAtmosphere, ExponentialHeightFog, and the engine PCGWorldActor. Ordinary spatially-loaded actors are unaffected (they are distributed into the host’s runtime grid as expected).

The two copies

1) Copy #1 - at cook/streaming-generation, the Embedded instance is treated as a child container (FLevelInstanceActorDesc::IsChildContainerInstanceInternal) and its always-loaded actors are folded into the host’s persistent level.

2) Copy #2 - at runtime, the target’s own World Partition is also initialized as a non-main partition (log: UWorldPartition::Initialize … IsMainWorldPartition = 0) and re-materializes the same actors. See ULevelStreamingLevelInstance::OnLevelLoadedChanged: “In Non-Editor worlds we want the container of a Level Instance to be considered the main container, it will do its own generate streaming if it is a World Partition.”

ALevelInstance::ShouldCookWorldAsset comments that “World Partition Embedded Level Instances don’t get loaded as they aren’t runtime relevant” - that assumption appears to break for a streaming-disabled target nested inside a non-main partition: the instance’s content is both embedded AND loaded again by the target’s own partition.

Impact

Duplicated global/always-loaded actors conflict and cause broken behavior and wasted memory - e.g. two PCGWorldActors, duplicated PostProcessVolumes/lighting, two sky/atmosphere actors. In our project this manifested as two weather/sky actors fighting over the same global state.

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 15, 2026, 10:56am UTC](https://forums.unrealengine.com/t/cooked-build-embedded-level-instance-of-a-streaming-disabled-wp-level-duplicates-always-loaded-actors-at-runtime/2856142/2 "2026-10-15T10:56:30Z")

</div>

**Steps to Reproduce**  
Repro on a clean UE 5.8 Third Person (or blank) project. Three World Partition levels nested

Main -\> (Standalone) Host -\> (Embedded) Target.

1. Create LV\_Target:

- File \> New Level \> Open World (World Partition).
- World Settings \> World Partition \> UNCHECK “Enable Streaming” (streaming-disabled WP level).
- Place a StaticMeshActor (Cube) at the origin.
  - In its Details \> World Partition, UNCHECK “Is Spatially Loaded” (so it is an always-loaded actor).
  - Save as LV\_Target. (Any always-loaded/non-spatial actor reproduces: PostProcessVolume (Unbound), SkyAtmosphere, SkyLight, ExponentialHeightFog, or the auto-spawned PCGWorldActor if a PCG graph is present.)

2. Create LV\_Host:

- File \> New Level \> Open World (leave “Enable Streaming” ON).
- Drag LV\_Target into the viewport to create a Level Instance.
- Leave its “Level Behavior” = Embedded (the default).
- Save as LV\_Host.

3. Create LV\_Main:

- File \> New Level \> Open World. Add a PlayerStart.
- Drag LV\_Host into the viewport to create a Level Instance.
- Set its “Level Behavior” = Standalone (so LV\_Host is loaded at runtime as its own, NON-main World Partition, mirroring how a game streams in regions).
- Save as LV\_Main.

4. Run the Main level

- Set LV\_Main as the default/startup map, then PACKAGE the project (or cook + run the cooked build; a dedicated server also reproduces). Launch the cooked build, open the console (~) and run:

```auto
obj list class=StaticMeshActor
obj list class=World

```

OBSERVED (bug):

- The Cube appears TWICE: once embedded into LV\_Host’s persistent level, and once inside a nested runtime level-instance world named like “…/LV\_Target\_…\_LevelInstance\_…”.
- obj list class=World shows that nested LV\_Target level-instance world, and the log shows: LogWorldPartition: UWorldPartition::Initialize … LV\_Target … IsMainWorldPartition = 0
- This reproduces in a cooked build. It may NOT reproduce in Play-In-Editor, because copy #1 (the embed into the host’s persistent level) is produced by the cook’s World Partition streaming generation, which PIE does not run the same way.

EXPECTED:

- The always-loaded actor should materialize ONCE.

Notes:

- Playing LV\_Host directly (as the main world) does NOT reproduce. The Embedded instance is consumed correctly. The duplication only appears when the containing level is itself loaded at runtime as a non-main partition (the Standalone LV\_Host inside LV\_Main above).
- Workaround: setting the LV\_Target instance’s Level Behavior to “Standalone” makes it appear once.  
[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![Svegn2](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/svegn2/32/924220_2.png) [@Svegn2](https://forums.unrealengine.com/u/Svegn2)\
**Post date:** [October 16, 2026, 2:36pm UTC](https://forums.unrealengine.com/t/cooked-build-embedded-level-instance-of-a-streaming-disabled-wp-level-duplicates-always-loaded-actors-at-runtime/2856142/3 "2026-10-16T14:36:08Z")

</div>

Hello!

We have not been able to reproduce the problem as described. Can you share the cooking log and the runtime log for analysis? When running the package, please execute the following console commands so we can validate if the problem is related to project settings:

- DumpCVars wp.
- DumpCVars LevelInstance.
- ConfigHash NAMESONLY
- ConfigHash Engine
- ConfigHash Game

Regards,

Martin

[Attachment Removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [October 20, 2026, 9:40am UTC](https://forums.unrealengine.com/t/cooked-build-embedded-level-instance-of-a-streaming-disabled-wp-level-duplicates-always-loaded-actors-at-runtime/2856142/4 "2026-10-20T09:40:41Z")

</div>

Hello Martin,

Thank you for your reply.

I will withdraw the question.

I tried to repro with vanilla 5.8.3 but I could not see the duplicate Actor.

Root cause in our fork’s seems to be the use of RegisterWorldAssetStreaming double-loading a nested Embedded streaming-disabled Level Instance.

[Attachment Removed]
