Closed ys1317 closed 10 months ago
We can't help you without more information. What versions of Unity Editor and Cesium for Unity are you using? How did you set this project up? Walk us through what you did, step-by-step, so we can reproduce the error.
Please post the further information @j9liu requested to the community forum. We use GitHub for confirmed bugs and concrete feature requests.
versions of Unity Editor 2021.3.30f and Cesium for Unity 1.3.0 How did iset this project up :
Open the AR project.
Add an AR extension.
Add the Cesium package.
In the Unity hierarchy, add the AR GeoSpatialOrigin.
In the Inspector and under Edit > Project Settings > XR Plug-in Management > ARCore Extensions > Android Authentication Strategy
, add the Android API key.
Check the Geospatial option under Edit > Project Settings > XR Plug-in Management > ARCore Extensions > Optional Features > Geospatial
.
Add a 3D object and attach the ARGeoSpatialAnchorCreator component to it.
Add the CesiumGeoreference component to the Unity hierarchy.
Add the Cesium Camera Controller, Cesium Origin Shift, and Cesium Global Anchor to the AR camera in the Unity hierarchy. And also, I added Cesium World Terrain because Cesium 3D Tileset didn't work, so I kept both. @j9liu
Please try upgrading to the latest version (v1.6.4). v1.3.0 is quite old, and v1.3.1 in particular fixed a problem on iOS that may be what you're seeing above.
If you still have trouble after upgrading, please post to the community forum and include as much detail as you can about what is going wrong. Warnings in the Console are not necessarily a problem, unless they're also causing something else to break.
this what i git after adding the Cesium for Unity v1.6.4
How did you add it? It looks like you might have added the source code from GitHub rather than the built package.
i got this alirt pleace help me