ARKit doesn't work with portrait device orientation

Landscape orientation is good but Portrait doesn’t work. Looks like camera picture is ok, but placing objects and planes estimates are still in landscape mode. No problems with it in XCode or Unity.

Thank you :slight_smile:

Any updates or know if this is fixed in 4.18 preview?

I don’t know if it’s because of the 4.18.3 hotfix, or not - but if you remove all video feed backgrounds cube that you’ve created (based on Epic/Apple’s documentation for implementing ARKit, this is what you were supposed to do) - it actually works for portrait and landscape.
So actually - you don’t need anything but a player with a camera that does hit tests. No need for fixes for color and stuff, too.
Tested on iPhone 8 with iOS 11.2.2 and UE4.18.3

Hey ,

Apologies as I’m following your posts from forum to here - but really struggling since October to get an app released with ARKit and Unreal because of all this (I’m sure you can relate)

Anyway - I’ve tried this in 4.18.3:
Enable Start in AR Mode
Delete all cubes/backgrounds
Add camera to player (performs hit tests on player screen touch)
-This results in a black feed (no camera) but I can see the game objects being placed

I’ve also tried:
Enable Start in AR Mode
Delete all cubes/backgrounds
Add camera to player (performs hit tests on player screen touch)
Add ARKitMaterial as post process material to Player Camera
-This results in perfectly working camera feed, but I can’t see ANY game actors or objects :frowning:

Any ideas? I really appreciate any thoughts you might have!

Thank you

Have you added this:

<key>NSCameraUsageDescription</key>\n<string>UE4 needs permission to use the camera in order to use ARKit.</string>\n

to the Additional Plist Data in Project Settings > IOS?
More here Getting Started with UE4 and ARKit - Unreal Engine