Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

ARKitComponent wrong image on iPhone X #395

Open
PCDK opened this issue Dec 16, 2019 · 0 comments
Open

ARKitComponent wrong image on iPhone X #395

PCDK opened this issue Dec 16, 2019 · 0 comments

Comments

@PCDK
Copy link

PCDK commented Dec 16, 2019

When I am using ARKitComponent I get a weird image. This only happens on iPhone X and only when I use Urho to display the image. Using ARSCNView to display ARKit works correctly. The incorrect image does however still happen when I try the Mutant demo from EgorBo. He is not using ARKitComponent, but is still using ARKit and urho.

Here is an image of the effect:
UrhoARkit failure

There seems to be 2 problems. The bottom of the image is rendered at the top and there is a weird shadow effect on everything. (Ignore the green circle.)

Here is my code for the Urho AR setup:

ArKitComp = Scene.CreateComponent<ARKitComponent>();
ArKitComp.Orientation = UIKit.UIInterfaceOrientation.Portrait;
ArKitComp.ARConfiguration = new ARWorldTrackingConfiguration { PlaneDetection = ARPlaneDetection.Horizontal };
ArKitComp.Run();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant