CesiumGeoreference transform gizmo shifting around

Hey guys, I have a weird bug where the CesiumGeoreference transform gizmo is shifting around uncontrollably after simply reducing the Scale property. For example, in the editor the Scale is at one and the transform is perfectly in the middle (0, 0, 0). Then in the editor or during runtime i reduce the scale to let’s say 0.1 or any other scale and the gizmos starts shaking and shifting its position… This makes it impossible for me right now to grab and scale the map because it will just distort in all directions.

Hi @xrdevrob,
Can you share a video of what you’re seeing? I just tried setting the Scale of a Georeference game object (both the one under Transform and the one under Cesium Georeference), and didn’t see any problems with the gizmo jumping around. I also tried setting the scale interactively using the Scale Tool, and that seemed alright as well.

One thing I can think of is if the Position of your CesiumGeoreference is far from the Unity origin. That will lead to vertex transform precision problems with Unity’s single-precision transformation system, which can cause the kind of jitter you’re describing. If that’s what you’re seeing, there’s nothing for it other than to keep everything near the origin, perhaps by moving the world rather than moving the objects in it. The CesiumOriginShift component, which is attached to the DynamicCamera by default, can help with this.