Summary
For the past two months, my team has been dealing with cooker out of memory errors on an island that has previously had no errors for the past year.
We isolated the cause down to our custom landscape material by loading a new project, assigning the same size landscape the custom material and then getting the same out of memory error on an empty project.
As a workaround we tried making a material instance of the M_Customizeable_Landscape that ships with UEFN. This results in no or minimal errors when leaving the material uncustomized, however, adding custom textures even of 1k or less resolution does result in intermittent errors, even on Fortniteās own landscape shader.
I figure this has to do with exposing the landscape material variables to verse somehow, since thatās around the time the issue started appearing.
Perhaps this can shed some partial light on the cooker failures going on, however, it does not seem to be the only cause but it is the only cause that we can identify in our islandā¦loading our island with no landscape material but 40k+ actors and 30k lines of verse code has no issues if there is no landscape material assigned.
Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Stability
Steps to Reproduce
- Start new project, add a max 2k size landscape
- Create a material instance of M_Customizeable_Landscape
- Assign custom textures to some of the fields
- Attempt to launch edit session
- Fail. Possibly. Sometimes it works, seems related to the project size bug because if I launch edit session with no custom landscape, then assign and push changes, it usually does workā¦
Alternatively, try assign any kind of complicated custom landscape material to the landscape, and this will seemingly always fail.
Expected Result
Launching an edit session with a customized fortnite material should cook consistently.
Observed Result
Launching an edit session with a customized fortnite material fails in a cooker out of memory error, unless done via push changes while already in the edit session.
Platform(s)
PC, UEFN
Island Code
9224-3068-7416