Camera does not open for Google Pixel 3a

0 votes
asked Feb 16, 2020 by ndmrzk (390 points)
Hello, i am using untiy 2019.3.0f3 with EasyAR Sense 3.0. The camera for Google Pixel 3a won't work. I want the front facing camera to open on start so i edited the ARSession script in the Init() function. I commented out this line :

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

Just wondering if it has anything to do with that or if its the version problem? About to try 3.1 but if its the code problem, any advice?

1 Answer

–1 vote
answered Feb 17, 2020 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.
...