[ARKit] Dynamic Object Shadows in 4.18?

Hi Everyone,

I’m struggling to get dynamic object shadows working with the 4.18 ARSample project.

Following the Getting Started with ARKit in Unreal Engine 4 tutorial, I’ve gone ahead and:

  • Added a static mesh ground plane to my placeable object blueprint
  • Added the ARKitCameraMaterial to my ground plane, set to two-sided and unlit
  • Added a stationary directional light to my scene, set to cast modulated shadows
  • Enabled Mobile HDR in my project settings
  • Rebuilt lighting

When I deploy to an iOS device, my ground plane is appearing correctly (that is, the camera material is working and the ground plane appears invisible) but no shadows are cast onto it at all.

Has anyone had any success in getting this working with 4.18? Is there something else I need to do to get things running with the new-and-more-integrated ARKit functionality?

Thanks in advance!

Edit: The shadows appear correctly in my editor viewport, just not when I deploy to an iOS device… maybe there’s an additional mobile-specific setting I’m missing on either the directional light or the camera passthrough material?

Any luck ?

Afraid not, I can’t afford to spend any more time devising a workaround - waiting and hoping this will be fixed in a future release! :frowning:

In 4.18 the arkit camera feed is changed to be rendered as a postprocess “pass through” step, this means the game no longer has access to the camera material in 4.17. The old approach of using the camera material to render a “hidden” floor mesh no longer works…