Blueprint nativization fails to build Oculus Plugin

Hi,

I get the following error when I try to nativize a clean project for including Oculus VR plugin.

The steps to reproduce the error are:

  1. Create a new blueprint project
  2. Create a new blueprint actor and add an “oculus boundary” component.
  3. Drag the actor to the scene and save.
  4. If you try to nativize the project when packaging for Win64, you get this error:

C:\Program Files\Epic Games\UE_4.19\Engine\Source…/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/OculusBoundaryComponent.h(4): fatal error C1083: Cannot open include file: ‘ActorComponent.h’: No such file or directory
UATHelper: Packaging (Windows (64-bit)): ERROR: UBT ERROR: Failed to produce item: E:\UE4\BPNativization\Intermediate\Plugins\NativizedAssets\Windows\Game\Binaries\Win64\UE4-NativizedAssets.lib
PackagingResults: Error: UBT ERROR: Failed to produce item: E:\UE4\BPNativization\Intermediate\Plugins\NativizedAssets\Windows\Game\Binaries\Win64\UE4-NativizedAssets.lib

Is there a workaround or fix for this?

Thanks.

I also get this error in 4.25. I would love an answer