Data Layers seem to break Runtime PCG Hierarchical Generation features

When using Runtime HiGen in PCG, assigning the generating Actor (the actor with the PCG Component) to a Data Layer (Runtime or Editor) breaks the property inheritance from higher grid sizes to lower ones. Only unbounded data can be sampled by smaller grids. See Repro Steps for more info.

Steps to Reproduce
To reproduce:

  1. Create a PCG system using HiGen with two or more grid sizes and perform some sampling to generate points.
    1. Set the Default Generation size to Unbounded
    2. In the PCG graph, send data from a higher grid size to a lower grid size to perform an operation (such as a Distance or Difference). (Fig. 1)[Image Removed]
  2. Place the PCG into a World Partition Map with Streaming Enabled as a PCG Volume and adjust accordingly to project on a suitable surface.
    1. Set the Generation Mode to be Runtime (Fig. 2)[Image Removed]
  3. Add the PCG generating actor to a Data Layer (Runtime, Editor or Private).
  4. Regenerate

Expected result:

The larger grid size passes the point data to the smaller grid graph and the Distance to the paints is calculated.

(fig. 3)[Image Removed]

Actual Result:

The points in each grid generate but do not sample from other grids. Only Unbounded data is sampled by smaller Grids. (Fig. 2 see above)

Removing the PCGVolume from the Data Layer restores functionality.

Hi Tom,

Thanks for reaching out.

We’ll have someone on our side try to repro this as the data layers support should be transparent and work as you’d expect it.

Cheers,

Julien

Hi Tom,

Could you share a sample project that reproduces this issue, locally I’ve tried with existing HiGen graphs and haven’t reproduced any issues. Wondering if there is something particular about your graphs that we are missing here.

Cheers,

Patrick