[BUG] Deleting Landscape Component renders landscape invisible.

Branch: Binary

Build version: 4.5.0 [Preview]

Detailed description of the issue: When attempting to reload the level using “open level” command with the level name being the current level, the engine crashes completely. Also happens when using the console command “RestartLevel” - with both blueprints and console.

Repro Steps

Action 1: Open level with landscape

Action 2: Delete one component of the landscape

Action 3: Play or Simulate

Frequency: 50% - i have two maps with the same landscape, and it only occurs on one. (100% frequency on one map)

System Specs:

  • Windows 8.1
  • AMD FX 8350
  • AMD 7970
  • 16GB DDR3 RAM
  • ASUS Xonar D2X
  • 2x 7200RPM HDDs in Raid-0

Figured the issue : I had accidentally unchecked “Precompute Visibility” whilst still having a “Precomputed Visibility Volume” in the map. Checking the option and rebuilding everything fixed the issue.

Hello Kenomica,

I have attempted to reproduce the steps you provided and have be unsuccessful as far as getting the engine to crash. I have some of my own repro steps for you to try to see if the crash is associated with your specific project or the engine itself. I followed your own steps but also have added my own. Let me know after you have followed the steps and were able to get the crash again.

  1. Create new blank project with starter content.
  2. Select either First Person BP or Third Person BP project.
  3. Click file and choose “New Level.”
  4. Choose the default level option.
  5. Delete “SM_Template_Map_Floor.”
  6. Click on the Landscape tab to create a new landscape.
  7. Keep the default settings and click “Create.”
  8. Select the sculpt tool and add some height changes and bumps on your landscape.
  9. Click on the manage tool in Landscape mode.
  10. Click the drop-down box and select the delete component tool.
  11. Delete either one or multiple components of your landscape.
  12. Click play or simulate.
  13. Observe if engine crashes or not.

Hopefully this can get us on the same page so we can figure out what exactly is causing your engine to crash.

Thanks!

The engine never crashed when this happened. The landscape just did not render. I’ve posted an answer which is what fixed the issue.

It seems having precompute visibility unchecked but still having a precompute visibility volume causes this.

I’ve not experienced this issue again upon discovering that I had accidently left precompute visibility unchecked.