Cesium ion AR Unity

Hello, I am working on an AR project in Unity. When I transfer the package to the augmented environment, it loads very slowly on all the devices I have tried. How can I optimize this for better performance? Additionally, I want to draw a route between the starting and ending coordinates in my AR Unity project using Cesium Ion and navigate along this route. Is this possible? If so, how can I implement it? Thank you very much for your help.

Hi @Veli_DASAN,
The main way to improve performance is to increase the “Maximum Screen Space Error” value. This will reduce detail, though. There’s no other quick fix, unfortunately.

Additionally, I want to draw a route between the starting and ending coordinates in my AR Unity project using Cesium Ion and navigate along this route.

Do you mean route in the sense of “driving directions”? If so, you’ll need to integrate a third-party routing API, as it’s not something provided out-of-the-box. Any routing API will likely provide longitude/latitude coordinates of each waypoint, though, which you can then convert to Unity coordinates by using methods on CesiumWgs84Ellipsoid and CesiumGeoreference.