Author Topic: Unreal landscape has duplicate layers  (Read 2998 times)

ZoltanE

  • Full Member
  • ***
  • Posts: 23
While I'm tweaking the layer structure for the terrain, adding and removing masks and so on, the Unreal landscape actor gets multiple layers with the same name, often using the same layerinfo, breaking visuals. I'm using IT 2.3.3 with Unreal 4.26.2.


ZoltanE

  • Full Member
  • ***
  • Posts: 23
It can be cleaned up by adding a new layer to the landscape material, compiling, removing it, compiling again.

Alexis Vaisse

  • Administrator
  • *****
  • Posts: 189
Hi,

Thanks for your feedback.

The Content Browser may not refresh automatically and may display layer info that are not really present anymore.
In this case, selecting another folder then selecting the layer info folder again may fix the issue.

But the landscape actor should always be up-to-date, at least when all shaders are compiled.
We haven't been able to reproduce the case where a landscape actor would contain invalid layer info, even when adding layers, removing layers, renaming layers or changing layer order.
If you have a repro case leading to a landscape actor being invalid, we would really appreciate if you could send it to us.
Thanks a lot.