Data Layer Unloading

Summary

Having this issue in multiple experiences.

-Unload Data Layer 90 Frames ( Preroll : Activated ( 30 Frames )
-Wait 5 Seconds
-Break builds with a prop mover or explosive device
-Wait 5 seconds
-Load Data Layer 90 Frames ( Preroll : Unloaded (30 Frames) )
-Activate Data Layer 120 Frames ( Preroll : Loaded ( 60 Frames ) )

You see the assets in the data layer appear for less than a second and then immediately disappear.

This is hard to reproduce but I can provide entire projects where the issue is present if examples are needed.

Each level sequence is setup to keep state and the cinematic_sequence_device’s are all setup to play for everybody

The only time I flush is on Activate

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

setup data layers

-With data layers already activated.

Unload Data Layer → Wait 5s → break builds with explosive device or prop mover → Wait 5s → Load Data Layer → Activate Data Layer

Expected Result

Actors in activated data layers to be present.

Observed Result

Actors in activated data layers are not present.

Platform(s)

Windows

Island Code

7567-5478-1659

In my experience with datalayer, you should be careful with devices, because they often either don’t work if the initial state was unloaded and some devices even prevent the unloading. (Therefore You can’t assign a datalayer directly to devices themselves anyway) - but in principle you can already use the datalayers for unloading (try without a pre-roll and directly only one frame for unloading - maybe this works better), but only if you don’t need them anymore in the further game (If you’re only interested in visibility, then separate devices of probs, or use an object manipulator)

1 Like

I may be misunderstanding your comment a bit but the only actors in my data layers are blueprints from the content drawer / static meshes.

ah okay, I thought you have the explosive device and prob mover also in the datalayer… but it`s important to know, that static meshes you reference with devices, e.g. the prob mover device, you should also take out from datalayer

FORT-1167009 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.