Why camera does not open for supported arcore devices : Xiaomi Mi9, Google Pixel 3a ?

0 votes
asked Feb 17 by ndmrzk (390 points)

Hello. i am using unity 2019.3.0f3, Windows 10, EasyAR3.0. I stumbled across an issue today as described in the question. Users can only see black screen when they want to use the camera. The 2 phones are listed in the https://developers.google.com/ar/discover/supported-devices

In ARSession script i changed instead of Init() called in Awake(), its is called on button click and i made the Init public. In Init(), i changed

if(UseSecondCamera)
 {
    openResult = easyarCamera.openWithIndex(2);
    //openResult = easyarCamera.openWithIndex(1);
}
else
{
    openResult = easyarCamera.openWithType(CameraDeviceType.Front);
    //openResult = easyarCamera.openWithType(CameraDeviceType.Default);
}

Please advise.

1 Answer

0 votes
answered Feb 17 by ndmrzk (390 points)
 
Best answer
Its the version. 3.1 fixes this
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...