Upon saving the level after creating the landscape and painting visibility, the editor crashes. When you restart the editor and load the level, you are greeted with a warning in the upper right corner of the viewport and a map check error that prompts you to rebuild that Nanite landscape. Upon rebuilding, the warning persists. If you then try to cook the level, the cooker crashes. Attempting to clear the visibility data using the landscape tool does not resolve the issue and upon clearing, if you then attempt to Save, the editor crashes with the attached stack trace.
The attached project has one level, NewMap, that has a landscape that is stuck in this state. If you attempt to cook, you should reproduce the crash.
When rebuilding the landscape, the following appears in the output log:
LogLandscape: Warning: [NaniteDiag] ExportToRawMeshDataCopy produced 0 polygons for actor ‘Landscape’ (LOD=0, 64 components, polygons=0, 0 w/empty height, 64 w/visibility-paint, 64 w/visibility-data, 0 w/missing component-data, 262144 total height samples, 262144 total visibility samples, 262144 hidden visibility samples, 0 visible visibility samples, ExportBoundsSet=0, SkirtDepthSet=0).
LogLandscape: Failed export of raw static mesh for Nanite landscape (64 components) for actor Landscape : (DDC: 1, DDC read: 0 bytes, DDC write: 0 bytes, key: 7A6172126E32F37EE047EB5FEC99CA4692C4D92E, export: 0.030766 seconds)
[Attachment Removed]