[Bug] Accumulation of large floating-point errors when using Position Grid Snap

We’ve set a custom grid snap of 2048, since the “tiles” in our game are 2048x2048 Unreal units.

We’re noticing that when using this feature, there seems to be a very significant floating point error that accumulates over time the more you drag objects around.

Take a look at the screenshot below. I placed the air storage module at the origin and then dragged it along the X axis and back to the origin again. Over time, after dragging it along +X and -X a few times and then back to the origin, the X coordinate of the static mesh actor was listed as:

.000732

.001709

.007568

.124756

This seems like a very significant error, probably too large to be due to floating-point accuracy issues – there seems to be something else going on.

Hey Mothership team,

Thanks for your report! I was able to reproduce this issue and agree that it is of some concern–I have filed a defect report to have this issue fixed for a future Rocket Beta release.

Thanks!

-Steve