Default Virtual Joysticks don't appear in iOS build

I’ve turned on “Always Show Touch Interface” in Project Settings - Input, and am using the DefaultVirtualJoysticks (/Engine/MobileResources/HUD/DefaultVirtualJoysticks)

The joysticks appear when running the game in the editor and mobile preview window, but they don’t appear in the actual iOS packaged game.

Log from the device shows the following error:

LogStreaming: Error: Couldn’t find file for package /Engine/MobileResources/HUD/DefaultVirtualJoysticks requested by async loading code. NameToLoad: /Engine/MobileResources/HUD/DefaultVirtualJoysticks

“Exclude editor content when cooking” in Project Settings - Packaging is set to off, so the default engine stuff should be included in the packaged game.

Anyone can help with this problem?

I took a look inside my packaged game, and it seems that my Engine/Content/MobileResources/ folder is somehow missing from my .pak file, even though it cooked properly. Most other Engine Content was also there (although some others were missing as well, like a few files from EngineMaterials), so I’m not sure what is the cause of this. I already have “Exclude editor content when cooking” unchecked in project settings.

I searched for similar issues, but couldn’t find an answer.

In the end, I just copied the MobileResources folder from Engine/Content/ to Game/Content to force the game to include it in the package, but this is a hack solution, so I would appreciate it if anyone knows of a proper solution.