(EasyAR Unity Plugin 4.5) SpatialMap Sparse_ImageTarget Sample does not work for Android

0 votes
asked Jul 20, 2022 by yanlam (200 points)
edited Jul 20, 2022 by yanlam

Hi,

I imported EasyAR Unity Plugin 4.5 and its samples into my Unity project (followed all Android configs) and found that the SpatialMap Sparse_ImageTarget Scene did not work in Android build. I didn't change anything else, simply try to run the sample. It worked fine on iOS. But after I opened the SpatialMap Sparse_ImageTarget Sample scene, it becomes very laggy and the Point Cloud Count is always zero. Below is the error logged for Android:

ARCoreError: third_party/arcore/ar/core/cpu_image_manager.cc:308
 [type.googleapis.com/util.ErrorSpacePayload='ArStatusErrorSpace::AR_ERROR_NOT_YET_AVAILABLE']

It finally worked in Android when I used EasyAR Unity Plugin Version 4.2 (I did not try 4.3) .

Do you think if there is any quick fix available for EasyAR Unity Plugin 4.5 regarding the issue?

FYR
Unity Version 2020.3.23f1, Device Model: Samsung Galaxy S20 FE 5G (also the same for some Xiaomi models), Android v12

Thanks.

1 Answer

0 votes
answered Dec 26, 2022 by kenn (18,790 points)
The EasyAR Sense is not wrong. You should fix your device's ARCore.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...