The UStaticMeshComponent.PreviousLODLevel variable always returns 0 no matter what the last LOD actually was.

Regression?: No
This also occurred in 4.16

Steps to Reproduce
  1. Download the attached project, generate project files and then compile.
  2. Open the project and place the Output log in a way so that you can see it while you play
  3. Start PIE
  4. Move the camera closer and further from the cube in the middle to make it swap between LODs
    Result: The output from PreviousLODLevel always returns 0
    Expected: The output from PreviousLODLevel changes each time the LOD changes.

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

Login to Vote

Affects Versions4.164.174.18
CreatedAug 30, 2017
UpdatedNov 10, 2019