Use linerender to draw lines in the loaded map

In the loaded map, I generated some objects, and then click a button, I will use unity linerender components to draw lines, the camera will not move when the problem, but the camera moves the line of the target point will always change position, how to solve, or have the longitude and latitude to navigate the way to move objects, I do this by using a sphere to move from the first to the next and then to the last object in the list of objects I generate, and then linerender records the coordinates of the sphere in real time, please help!! Urgent, urgent, urgent, urgent

Hi @fengrunzhao, welcome to the community!
I can’t quite follow what you’re describing. Perhaps some screenshots or a video would help?

If you’re seeing objects move unexpectedly when moving the camera, this is often caused by the CesiumOriginShift component, combined with unanchored objects. This tutorial helps explain how origin shifting and globe anchoring work: