Forum Libraries, Components, and Plugins

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

ARkit demos not working

HI
I have download the last version for the urho-samples to play with the ARkit demos on IOS
https://github.com/xamarin/urho-samples/tree/master/ARKit

I met few issues

  • demos crashing because OData folder is not existing for the ResourcePaths init. So removing that folder name helps for demo not crashing
  • On my iPhone with IOS 11, impossible to have the demos working. Crowd demo remains blocked on displaying "Detecting planes....", vertical planes demo as well :-(

What could be wrong and will help to run it?

many thanks

Posts

  • EgorBoEgorBo BYXamarin Team ✭✭✭

    @BrunoREMY
    Indeed, "OData" is redundant.
    "Detecting planes..." is displayed until the first surface is recognized, sometimes it's hard to recognize any e.g. single color surfaces, lots of limitations

  • BrunoREMYBrunoREMY USMember ✭✭

    Hi ErgoBo
    Ok I will try on different surfaces. Make more clear now on what detecting surfaces could be useful for

  • BrunoREMYBrunoREMY USMember ✭✭

    @ErgoBo
    how long do you think it is necessary to wait for the surface to be recognized?
    I just wonder what is necessary to be done for that. Pointing the device toward a surface and not moving?
    Is it the camera sensor supposed to work during that phase?

    I wonder if it should be necessary to add something in the info.plist file on IOS to make sure the camera can be used by the app??????

    Bruno

  • EgorBoEgorBo BYXamarin Team ✭✭✭

    @BrunoREMY said:
    @ErgoBo
    how long do you think it is necessary to wait for the surface to be recognized?
    I just wonder what is necessary to be done for that. Pointing the device toward a surface and not moving?
    Is it the camera sensor supposed to work during that phase?

    I wonder if it should be necessary to add something in the info.plist file on IOS to make sure the camera can be used by the app??????

    Bruno

    Depends on a surface, but you should constantly slowly move for the best results.
    If you point your device to some let's say white clean surface - there is no chance it will find any surface.
    Here is a demo:

  • BrunoREMYBrunoREMY USMember ✭✭

    looks fantastic
    In my case the foreground is just a full white. I can't see the image from my camera lens

    Here what I can't see

    https://ibb.co/c297Sn

    (sorry I didn't understood how to integrate the picture with the "image" button editing the post!!!!!!)

  • EgorBoEgorBo BYXamarin Team ✭✭✭

    @BrunoREMY said:
    looks fantastic
    In my case the foreground is just a full white. I can't see the image from my camera lens

    Here what I can't see

    https://ibb.co/c297Sn

    (sorry I didn't understood how to integrate the picture with the "image" button editing the post!!!!!!)

    what is the device you are using?

  • BrunoREMYBrunoREMY USMember ✭✭

    I have an iPhone 6
    just tried on my iPad mini 3 as well and same result

  • EgorBoEgorBo BYXamarin Team ✭✭✭
    edited March 2018

    @BrunoREMY said:
    I have an iPhone 6
    just tried on my iPad mini 3 as well and same result

    iPhone 6 and iPad mini 3 don't support ARKit, you need at least iphone 6S (see https://developer.apple.com/library/content/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/DeviceCompatibilityMatrix/DeviceCompatibilityMatrix.html)

  • BrunoREMYBrunoREMY USMember ✭✭

    Hopefully I have a SE iphone. Will be able to test :-)

Sign In or Register to comment.