Description

When using the handheld AR template and trying to package for ARCore, the package or launch on attempt will fail due to some permissions errors with Apple.

If ARKit is disabled the editor will lock up completely as soon as a build attempt is made.

  1. Packaging a normal blank/FPS template with just arcore enabled does not cause this error.
  2. Packaging a normal blank/FPS template with arkit enabled causes the same error

 

This occurs in Dev-VR as well so it's not a blocker for the oculus integration

Steps to Reproduce
  1. Create a new BP handheld AR template map.
  2. Verify that ARCore is enabled
  3. Package for android or launch onto an android device
  4. Observe failure to package

Results:
Permission errors prevent Handheld AR from packaging

Expected:
Handheld AR is able to package

Callstack
[2019.01.17-19.22.31:570][556]LogPlayLevel: Error: ERROR: The following files are set to be staged, but contain restricted folder names ("Apple"):
[2019.01.17-19.22.31:570][556]LogPlayLevel: Engine/Plugins/Runtime/AR/Apple/AppleARKit/AppleARKit.uplugin
[2019.01.17-19.22.31:570][556]LogPlayLevel: Engine/Plugins/Runtime/AR/Apple/AppleARKit/Content/ARKitCameraMaterial.uasset
[2019.01.17-19.22.31:571][556]LogPlayLevel: Engine/Plugins/Runtime/AR/Apple/AppleARKit/Content/ARKitCameraMaterial.uexp
[2019.01.17-19.22.31:571][556]LogPlayLevel: [Restrictions]
[2019.01.17-19.22.31:571][556]LogPlayLevel: Win32
[2019.01.17-19.22.31:571][556]LogPlayLevel: Win64
[2019.01.17-19.22.31:571][556]LogPlayLevel: Mac
[2019.01.17-19.22.31:571][556]LogPlayLevel: XboxOne
[2019.01.17-19.22.31:571][556]LogPlayLevel: PS4
[2019.01.17-19.22.31:571][556]LogPlayLevel: IOS
[2019.01.17-19.22.31:571][556]LogPlayLevel: EpicInternal
[2019.01.17-19.22.31:571][556]LogPlayLevel: HTML5
[2019.01.17-19.22.31:571][556]LogPlayLevel: Linux
[2019.01.17-19.22.31:571][556]LogPlayLevel: AllDesktop
[2019.01.17-19.22.31:572][556]LogPlayLevel: TVOS
[2019.01.17-19.22.31:572][556]LogPlayLevel: Switch
[2019.01.17-19.22.31:572][556]LogPlayLevel: REDACTED
[2019.01.17-19.22.31:572][556]LogPlayLevel: Lumin
[2019.01.17-19.22.31:572][556]LogPlayLevel: Windows
[2019.01.17-19.22.31:572][556]LogPlayLevel: Microsoft
[2019.01.17-19.22.31:572][556]LogPlayLevel: Apple
[2019.01.17-19.22.31:572][556]LogPlayLevel: Unix
[2019.01.17-19.22.31:572][556]LogPlayLevel: Sony
[2019.01.17-19.22.31:572][556]LogPlayLevel: CarefullyRedist
[2019.01.17-19.22.31:572][556]LogPlayLevel: NotForLicensees
[2019.01.17-19.22.31:572][556]LogPlayLevel: NoRedist
[2019.01.17-19.22.31:572][556]LogPlayLevel: If these files are intended to be distributed in packaged builds, move the source files out of a restricted folder, or remap them during staging using the following syntax in DefaultGame.ini:
[2019.01.17-19.22.31:572][556]LogPlayLevel: [Staging]
[2019.01.17-19.22.31:572][556]LogPlayLevel: +RemapDirectories=(From="Foo/NoRedist", To="Foo")
[2019.01.17-19.22.31:573][556]LogPlayLevel: Alternatively, whitelist them using this syntax in DefaultGame.ini:
[2019.01.17-19.22.31:573][556]LogPlayLevel: [Staging]
[2019.01.17-19.22.31:573][556]LogPlayLevel: +WhitelistDirectories=MyGame/Content/Foo
[2019.01.17-19.22.31:573][556]LogPlayLevel: (see F:\P4\Oculus\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
[2019.01.17-19.22.31:610][558]LogPlayLevel: AutomationTool exiting with ExitCode=1 (Error_Unknown)
[2019.01.17-19.22.31:665][561]LogPlayLevel: Completed Launch On Stage: Build Task, Time: 843.080814
[2019.01.17-19.22.32:165][585]LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 0.000072
[2019.01.17-19.22.32:166][585]LogPlayLevel: BUILD FAILED

[2019.01.17-19.22.32:166][585]PackagingResults: Error: Launch failed! Unknown Error

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68669 in the post.

0
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.22
Target Fix4.22
Fix Commit4766766
Main Commit4824851
Release Commit4862694
CreatedJan 17, 2019
ResolvedJan 21, 2019
UpdatedSep 23, 2019