Editor won't stop snapping gameObjects when dragging

Hey there,

I’m searching since 2 hours now and cant find anybody issued this before completly the same.

(Likely)2 hours ago my Editor just started snapping gameobjects per 0.5 on X & Y axis when moving objects around with the mouse.

  • Snapping settings did not change they were 1 / 1 / 1 , i even tried to lower them to 0.001
  • There is no shortcut to toggle on/off so →
  • CTRL should usually force snapping →
    — But the weird thing is that if I keep holding CTRL it is the only way to make it stop from snapping the gameObjects while dragging/moving
  • It always rounds down&up to the nearest 0.5 step, so keeps the gameObjects kinda Grid Aligned →
    – Yes the gameObjects are (on lower level) children of a Grid, but they have been since forever and never had this behaviour

—> If I release them from the Grid they do not snap anymore, but I want them to be part of the Grid, because If I move the parent tilemaps sooner or later due to map scaling , then the gameobject should move with them, so I dont have to reposition/align them all over again

I already restarted everything for sure … brought me to nothing.
Its super annoying, does anybody have an idea ? :frowning:

Thanks in advance

KR
blu3

What were you doing then? You must have unvillingly modified some setting. Make sure “Toggle Grid snapping on and off” is set on off.

Hey,
as told before there is none such setting anywhere in my project I am looking at and there is no documentation for something near.

I’m wondering why its “toggle off” the snapping while I hold CTRL and just does it when I’m not holding CTRL.
Even when I didnt change anything - not even unwillingly, because there is no shortcut for this toggle.
Teach me please where this perfectly hidden shortcut setting is.
Or is it maybe just a tick/checkbox on any component or asset that I dont see anywhere?

It’s not “Vertex Snapping” , I already tried and this is something else to my case.

5131811--507341--Unbenannt1.PNG

5131811--507347--Unbenannt3.PNG 5131811--507350--Unbenannt4.PNG

What version of Unity are you using?

It seems to be a problem with the Ctrl key; it seems to be stuck in down position. Try pushing ctrl again and again, restart your computer maybe?

In 2020.1 alpha, there is a toggle snap to grid button, on the right of the tool bar.

5131883--507365--Sans-titre-1.jpg

6 Likes

I’m using 2019.2.8f1.
Well i thought about something like that, but the point is that the Editor and my Windows and everything is acting completly correct in regards of CTRL pushed/not pushed/hold.
One and only snapping is the thing that trolls me.

Yes, I already restartet my PC.

I still found no solution and cant explain, it just started for no reason and does not go away since yesterday.

Deinstall and reinstall it maybe? I’m going short of ideas. :slight_smile:

If the problem is still there after deinstalling and reinstalling it, you should file a bug report.

Was having the same problem, this is the little bugger that you need to change to stop the issue.

7644382--952684--Fix.png

My game is 2d and it’s just not snapping to anything. This sidebar is not available at all.

Okay so I found the setting. You need to change to the move tool and then you can change the grid snapping. Before selecting move tool the grid snapping option was greyed out. Not sure who thought to have it off by default in a 2d game.

Okay after looking at this a bit longer, the setting doesn’t need to be changed, you just need to switch to the move tool and you get the snapping back.

7831137--991872--Untitled.png

Thank you so much! I was having this issue for days!

I have to add to the above:
Note that the popup over the little Snap Icon (Grid/Magnet) says ...set tool handle rotation to global

  • Make sure you change “Local” to “Global” on the little button to the left of the Snap icon.
  • Then click on the Move icon
  • Now the Snap icon should be enabled so you can click on the stupid thing.