IsStreamingCompleted and SubWorldPartition

Hello,

We are currently working on a project where we are injecting Subworld partition using RegisterWorldAssetStreaming in an empty world partition world.

We are currently encountering issue with the IsStreamingCompleted function of the world partition. With the injection of the SubWorld partition, this function will return true even though the SubWorld partition cells haven’t finished loading. It only check if the InjectedCell has finished. Is there a way to check that the streaming is finished completely (With the world partition cells of the SubWorld partition taken into account) ?

[Attachment Removed]

Steps to Reproduce

  • Create a new Empty Open World partition (A) from the Editor (File->New Level)
  • Have another World Partition (B) with landscape, actor etc.
  • Use the RegisterWorldAssetStreaming to inject the world partition (B) as a SubWorld partition inside of (A)
  • Check whether or not the streaming is finished using the IsStreamingCompleted function
  • Notice that it only checks if the InjectedCell containing B has finished loading and not all the cells of the SubWorldPartition
    [Attachment Removed]

Hi, apologies for the delay.

If I understand correctly, it sounds like you’re using UWorldPartition::IsStreamingCompleted, which only knows about A’s cells.

Instead of that, you could try using the subsystem API - UWorldPartitionSubsystem::IsStreamingCompleted. It iterates all registered WPs, which should include B WP.

Thanks,

Andrzej

[Attachment Removed]