xamarin / urho-samples

Samples for the Urho bindings
MIT License
384 stars 491 forks source link

Question about the Device and OS version ARCore compatibilty #71

Closed Groovy1911 closed 5 years ago

Groovy1911 commented 5 years ago

Hi EgorBo,

I would like to know which devices and OS are currently compatible with ARCore on UrhoSharp ? Or if there is something to be sure the device is supported by UrhoSharp 1.9.6.7 ? Maybe a list of supported devices ? Do you have a plan to fit with the list from Google (link below) ?

According to the google documentation (https://developers.google.com/ar/discover/supported-devices) I'm using "ArCoreApk.Instance.CheckAvailability" to check if the device supports ARCore then "Android.App.Application.Context.PackageManager.GetApplicationInfo" to be sure ARCore is installed on the device and now I'm checking the OS Version "Android.OS.Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.OMr1".

Everything works like a charm on :

Doesn't work on:

Probably I'm doing something wrong but I can't find what is my mistake.

ps: You are doing an amazing job on UrhoSharp, thank you very much.

utekai commented 5 years ago

ps: You are doing an amazing job on UrhoSharp, thank you very much.

Perhaps 'did' would be more appropriate instead of 'are doing'.

If you want to know the root cause of some specific error, you have to discuss that error.

'Doesn't work' is a common technical phenomenon with many root causes across a plethora of human and robotic activity extending into the ethereal realm.

Groovy1911 commented 5 years ago

I hope not because this engine is pretty cool.

In fact, unfortunately, I have no mistakes. With all phones, I can move around my 3D object, but for those with which it does not work, the camera is not displayed and so I have an empty background.

utekai commented 5 years ago

Is the failure silent?

Aren't there some sort of errors you can find?

And what do you do when all your phones ring at the same time?

Groovy1911 commented 5 years ago

Maybe yes the failure is silent because I don't have any exceptions. If you try the ARCore Sample you can reproduce this issue.

Ah ah ah, when all my phones ring at the same I cry !

Groovy1911 commented 5 years ago

The version of ARCore used in urho is 1.1, so I updated with the lastest version --> 1.7. I still have the same issu. I can see the 3D model, I can see horizontal surface drown by ARCore but the camera is blank. Do you think the problem could be from SDL version used ?

Groovy1911 commented 5 years ago

Hello,

Finally I found the solution, I posted solution on this issue: https://github.com/xamarin/urho-samples/issues/62