Setting percent triangle too low in LOD generation leads to crash

When you set the percent triangle value in the reduction settings for LOD generation too low, then the LOD vanishes and it seems to be impossible to get the LOD Level back.

Steps to reproduce:

  1. Select a mesh with very few vertices (e.g. a cube)
  2. Set Triangle Percentage to a very low value (for the cube example 10.0 was small enough in my case)
  3. Hit Apply Changes

Edit: The crash seems to be difficult to reproduce. It was an index out of bounds exception, when the 0th LOD comprises 0 vertices.

Good to know that this is solved, thanks!

Hi Ceron,

I tested this in 4.17 and was able to reproduce the bug, but it looks like it has been fixed in engine version 4.18.1, because setting the Triangle Percentage to a low value no longer causes the LOD to disappear.