[Unreal 5.8] - First-Person Self-Shadowing does not render with Megalights

Summary

[Unreal 5.8] - First-Person self-shadowing breaks in 5.8 when megalights are enabled, shadows are no longer rendered and it seems that first-person primitive shadows are rendered in world space instead.

What Type of Bug are you experiencing?

Rendering (Graphics / Niagara)

Steps to Reproduce

  1. Create a first person template project (with Shooter)
  2. Enable Megalights
  3. Enable firstperson shadows (r.FirstPerson.SelfShadow 1)
  4. Enable for all lights (r.FirstPerson.SelfShadow.LightTypes 2 )

For better visibility remove the directional light and place a big pointlight in the shooter level.

Expected Result

As in 5.7.4: the weapon and hands will keep being shadowed properly.

Observed Result

The shadows aren’t rendered anymore, and instead the first person primitives get world-space shadows.
This happens in all projects with 5.8 as far as I can tell.

Affects Versions

5.8

Platform(s)

Windows

Video

5.7.4 (Correct) https://www.youtube.com/watch?v=pDO_fE-IJrA
5.8 (Bug) https://www.youtube.com/watch?v=GxszX7Gi9eo

Looks like this bug is solved with the 5.8.1 update.

UE-386333’s status has changed to ‘Ready for QA’. A member of the QA department is investigating the issue.

No.

Correct, it looked like it was working in one project and broken in another. Turns out light components in BPs we’re using didn’t have “Allow Megalights” enabled by default, guessing because they were created a while back.