-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frequently appear ErrorEarthNotready and cannot start Camera #147
Comments
Hi, |
Thanks for you information, I will check cloud anchor part. Thanks. |
I check the document about description for error "ErrorEarthNotready", it describe as below
and I was tracking the ARsession, the state already initializing, but EarthManagerstate is always ErrorEarthNotready, It is abnormal! I believe it is main reason for this issue. Does everyone has this situation before? |
I also check CheckVpsAvailability function for EathManager, this function check availability by using local location data. since app always get VPS not availability screen. When my camera cannot be open, app also show this screen. Something I would like to ask is... Does ARcore VPS has restrict location area to use? I sounds like cloud service tell me service is not avaliable for my current location. |
next debuging task... according to log, it mention "VPS Availability at (24.9934, 121.503): ErrorNotAuthorized". However, my keystore configure corrected which cannot find any issue. otherwise, Is that mean location (24.9934, 121.503) is not authorized to use VPS? the log data is attached, please please help me to check this... Thanks |
next case, I just change some code in string content and rebuild it. App can lunch success?! I also check log from my device.... 11-03 17:03:06.873 27356 27389 I Unity : Using session configuration 0x1 according to log content, it mention "VPS Availability at (24.99385, 121.5035): Available". the location longitude and latitude is same as last case, but this time is avaliable! How come?! why?! AR service is playing game with me? So sad... |
I have the same problem, Unity 2022.3.11.f1, ARCore Extensions 1.40.0. All I can add to your observations is that it's not because of unavailability of VPS in your area, because I have VPS availability (as I can see from my logs) but the ErrorEarthNotReady problem is still there |
I am checking my develop environment and any configuration. How about your develop platform? I am using APPLE M2 pro silicon chip, I just worry this is an issue.... Andy |
I'm on Windows 10. I reverted to Unity 2021 and the problem went away. Still, I don't know why it won't work in Unity 2022 (bug maybe?). Google should state that somewhere but the support for geospatial still seems to be too limited. |
As I know, Unity 2022 use XRorigin to replace ARSessionOrigin which may conflict. so Unity 2021 is recommended when developer uses ARcore extension or wait google team to upgrade extension to new version which use XROrigin. But I am not sure it is a major issue for ErrorEarthNotReady or not. Because I have changed to Unity 2021 but sometime I still get ErrorEarthNotReady error. PS. which sub-version of Unity engine did you use? I am using 2021.3.30f1 now. still check buging... :( Andy |
I am now using Unity 2021.3.22. If it helps, I had the following conflict in 2022 which prevented me from building correctly:
I bypassed it by importing the latest package(EDM4U) external-dependency-manager-latest.unitypackage. |
When I try to build apk in unity2022, I didn`t get this error. Maybe
hardware platform is different. Now, I focus on 2021,because of
ARsessionorigin issue.
By the way, I strongly suggest you to build apk more times, because I got
error not every times, it is often appear. Try to repeatly modify code and
rebuilds.
immersionfx ***@***.***> 於 2023年11月6日 週一 17:32 寫道:
… I am now using Unity 2021.3.22.
If it helps, I had the following conflict in 2022 which prevented me from
building correctly:
- Assembly
'Assets/ExternalDependencyManager/Editor/Google.IOSResolver.dll' will not
be loaded due to errors
I bypassed it by importing the latest package(EDM4U)
external-dependency-manager-latest.unitypackage.
—
Reply to this email directly, view it on GitHub
<#147 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALGOGZ3HOTIG3ZT27BSY7LYDCVCNAVCNFSM6AAAAAA62PCZQOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJUGQYTAMBTG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hi, +1 |
Finally, I try out a solution can avoid this.. Unity engine need to use 2021.3.22 and create a project from '3D', don't use 'AR'. ps. I am using mac platform for development, it may be different situation in other platform. Andy Chiang. |
Hi,
It works fine initially but after some time |
Hello !
It happens on the first start just after a build. I have to kill - relaunch the app. |
The discussion moved to #183 |
I'm creating an AR Map program, but I'm experiencing the same problem. Every time I build, sometimes it works and sometimes it doesn't, so I'm trying various ways to solve the problem, but I don't know what the difference is. Does the problem occur when building, or when the program is turned off and on? If the above method doesn't work, I thought I could clear the build cache and build again, but that wasn't the case. Accurate problem analysis and solution are required. This problem has been bugging me for a week. My conf: Windows 10 I posted the same answer here where I thought it was the same problem, but I'm posting my question here too because I want to get a quick answer. |
I try to build Geospatial sample and run on device. I didn't get any error message during the build apk. but when I install and run app on my device. It frequently appear ErrorEarthNotReady as screenshot. It is so confuse me about this error, I even not sure it is an issue for client side. or service cloud side and how to deal with this.
My develop environment is as below:
APPLE mac mini M2 pro.
Unity 2022.3.10.f1 and also try 2021.3.30f1
The reason I downgrade engine version is I found 2022.3.10f1 change AR session origin to XRorigin. I suppose it is reason for error, but after I change to 2021.3.30f1, issue is still happen.
build apk is for Android.
My current location is in Taiwan, is it an issue?
Does everyone know what situation will get ErrorEarthNotready error.
Every information will be appreciated. :)
The text was updated successfully, but these errors were encountered: