Prefab position/scale randomly glitches

Prefabs in the game I’m developing keep glitching with incorrect position/scale/rotation. This happens in playmode and in the built game, but not in the scene view.

(There were more glitches that happened during the video but weren’t captured.)

Sometimes it happens in the same spot; sometimes it doesn’t. It’s more likely to happen the father you get from (0,0,0) (the video is at about (-2500,80,-4800)). There’s also a possibly related shadow glitch that always happens and happens more the father away from (0,0,0) you get.

What could be causing this? I’m using Unity 2017.2.

Hi. This is not related to Prefabs. What you’re seeing is floating point precision issues. It’s a general thing in 3D graphics caused by the fact that numbers in computers have limitations in what they can represent accurately. There is no way to just make it go away, but various workarounds. Try to search for “floating point precision” and Unity to learn more about it; it’s a large and complex topic.