Instant Terra Forum

Instant Terra => Crash and bug reports => Topic started by: ZoltanE on October 22, 2021, 07:59:04 AM

Title: Unreal landscape has duplicate layers
Post by: ZoltanE on October 22, 2021, 07:59:04 AM
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.

Title: Re: Unreal landscape has duplicate layers
Post by: ZoltanE on October 22, 2021, 08:23:00 AM
It can be cleaned up by adding a new layer to the landscape material, compiling, removing it, compiling again.
Title: Re: Unreal landscape has duplicate layers
Post by: Alexis Vaisse on October 25, 2021, 08:28:01 AM
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.