Description

As soon as the visibility tool is used, we're adding references to the  "/Engine/EditorLandscapeResources/DataLayer" asset from landscape components.

If the user decides to cook without editor data, we ignore all assets whose paths starts with "/Engine/Editor". Warnings will be outputted, but the map can run without issue.

There are a few possible solutions to remove the warnings:

1) Remove reference to this layer during cook

2) Rename this layer to something else (/Engine/LandscapeResources/) so that it ain't treated as editor data anymore. A solution will be needed for existing data.

Steps to Reproduce
  • Create a new map
  • Create a landscape
  • Apply a material that support masking
  • Paint using the visibility tool so that a visibility layer is added
  • Cook map without editor data (-SkipCookingEditorContent?)

 

Will result in the following warnings during cook:

 

LogSavePackage: Warning: /Game/Level/Map/Terrain/Island_Terrain imported Serialize:/Engine/EditorLandscapeResources/DataLayer.DataLayer, but it was never saved as an export.
LogSavePackage: Warning: /Game/Level/Map/Terrain/Island_Terrain imported Serialize:/Engine/EditorLandscapeResources/DataLayer, but it was never saved as an export.

 

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-93414 in the post.

3
Login to Vote

Unresolved
ComponentTools - Landscape
Affects Versions4.25
CreatedMay 21, 2020
UpdatedMay 22, 2020