x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

LandscapeStreamingProxy Won't Rebuild / Disappears when Lit

UPDATE: Info on crash at end

We have a large island world that is split into a set of streaming sub-levels all constructed using the landscape tools.

This weekend, one of the LandscapeStreamingProxy actors has started behaving strangely. When lit and rendered normally, there is no visible representation of the terrain. I can still interact with it and walk across it but visually it is absent.

There are a few peculiarities:

  • The proxy does render correctly if it is selected in the level.

  • The proxy also renders correctly if you switch the viewport to unlit.

  • I can also see it just fine if I open the sub-level by itself (but this world is lit very differently)

I've found several similar issues reported in the past, and this one offers a solution:

The solution is to re-make the landscape by selecting the Landscape Manager, switching to the component resize tool and, without changing any settings, clicking re-apply (which I believe, essentially rebuilds the landscape). I have tried this and it is crashing unreal. If I try and rebuild with the persistent level open, it uses a monumental amount of memory (hundreds of GBs), takes forever, and crashes. If I try and rebuild within ANY sub-map (including the broken one) it goes much faster but still crashes as it is trying to write something to disk.

I am looking for any additional help I can get! At this point, any alternative solution to the original problem would be appreciated but also insight into why rebuilding the landscape might be taking so long in the persistent level / crashing in the end would also be welcome.

Presently this was all attempted with UE 4.20.3 on MacOS 10.14.4. I will also be attempting the rebuild on Windows soon with the debug library loaded to try and figure out more about why its crashing.

Crash Info

Re-ran the rebuilding of the landscape on the broken sub-level on a computer that has debug libraries installed (also a windows computer) and got a more useful stack trace when the crash occurred. Here's the gist of what I'm seeing:

  • We're inside of an 'on button up' event for the ResizeLandscape Apply button.

  • The LandscapeEditor is attempting to UpdateLayerUsageInformation() which requires locking of some data

  • The Landscape object calls LockMip() (presumably locking a mipmap level in the landscape)

  • The engine and core objects attept to lock that data but inside FUntypedBulkData::Lock() an assertion fails.

The specific assertion is:

LockStatus = LOCKSTATUS_Unlocked (Line 485 of Private\Serialization\BulkData.cpp, UE 4.20.3)

So my assessment is that it wants to 'lock' some data (presumably a mipmap level in the Landscape data) and it fails to lock (the lock status remains 'Unlocked' when it shouldn't). I'm not really sure what the sense is of 'lock' here, could be just some sort of write protection or finalization of the data, or maybe it has to do with SVN (which we are using) but either way, something is failing to lock and it is immediately crashing as a result.

ACTUALLY, after looking at the source code for this assertion, it happens right at the top of the Lock() function and is checking that the status of the data is 'unlocked' before it tries to lock it. Apparently, it is not 'unlocked' for some reason (maybe already locked, maybe some kind of error state).

Here's a screen grab of the Unreal Crash Reporter showing the stack trace in detail: Crash Report with Stack Trace

Product Version: UE 4.20
Tags:
more ▼

asked Apr 22 '19 at 06:43 AM in Everything Else

avatar image

berriers
1 1 1

avatar image berriers Apr 22 '19 at 07:04 AM

Here are some screenshots of the problem

  1. Missing Patch Normal, Lit viewport with nothing selected (landscape patch is missing)

  2. Desired Result Normal, Lit viewport with the missing patch selected (rendering correctly)

  3. Correct but Unlit Un-lit viewport with nothing selected (renders correctly but unlit)

avatar image berriers Apr 22 '19 at 07:10 AM

Here is an overhead view of the persistent world showing outlines of all the landscape streaming proxies. The arrow indicates the one that is buggy. Note that there are fewer sub-levels than all these streaming proxies.

Map with bad proxy indicated with an arrow

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question