Description

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 existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Fixed
ComponentUE - Rendering
Affects Versions4.164.174.18
Target Fix4.27
Fix Commit15217880
Main Commit15217880
CreatedAug 30, 2017
ResolvedJan 27, 2021
UpdatedApr 28, 2021