Description

Using "GetCurrentFrame" crashes app.

"The crash is due to the default constructor of FAppleARKitFrame being called by the above mentioned blueprint function. That constructor fails to initialize fields that are accessed in the destructor. Note that the only reason we're calling the blueprint function is to determine if the tracking is valid on the current game frame - presumably a proper function for that should be provided as part of the augmented reality api."

Unable to break struct like pictured in this UDN: https://udn.unrealengine.com/questions/385956/view.html

Tested with ipad pro 2 - Logs from device attached (no debug symbols, so not sure if helpful)

Unable to test/package in Main.

Steps to Reproduce
  1. Create an AR Template project
  2. Override a button in BP_DebugMenu to call ARKit function GetCurrentFrame
  3. Package, Press button, Crash

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Platform - XR
Affects Versions4.20.2
Target Fix4.20.3
Fix Commit4326525
CreatedAug 22, 2018
ResolvedAug 29, 2018
UpdatedNov 7, 2018