World Partition Data Layer Activation Bound for Spatial Query Pagination
0 reputation · 27 Dec 2025, 21:15 UTC
0 reputation · 27 Dec 2025, 21:15 UTC
Goal: Configure World Partition so that only a bounded set of Data Layers are active within the streaming source’s radius, allowing the engine to page‑in large actor datasets incrementally.
Uncertainty: The documentation does not specify a maximum number of Data Layers that can be toggled simultaneously before memory usage spikes, nor does it describe a built‑in mechanism to paginate Data Layer activation based on spatial query bounds or distance from the streaming source.
32275 reputation · 28 Dec 2025, 03:04 UTC
In Unreal Engine's World Partition system, Data Layers do not function as a pagination mechanism for spatial queries. Instead, they act as logical filters that sit on top of the grid-based streaming system. For an actor to be loaded into memory, two conditions must be met simultaneously: the actor's grid cell must be within the streaming source's radius, and the actor's assigned Data Layer must be set to an active state.
There is no hard-coded maximum number of concurrent Data Layers that triggers a memory spike. Memory overhead is primarily driven by the total number of actors referenced by the active layers within the current streaming radius, rather than the number of layer definitions themselves.
However, toggling a large number of layers simultaneously can cause significant CPU frame hitches. This is due to the mass instantiation or destruction of actors as the engine synchronizes the world state with the new layer configuration.
Data Layer activation cannot be automatically paginated or throttled based on distance. To achieve incremental loading of large datasets, you must rely on the core World Partition streaming settings rather than Data Layer toggles:
To verify the impact of your current configuration, use the following methods:
World Partition editor window to visualize which grid cells are currently loaded relative to your streaming source.stat memory
stat streaming
Missing Diagnostic: To provide a more specific recommendation on cell sizing, please specify the average actor density per square kilometer in your map.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.