Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question ProBuilder Vert/Edge/Face movement is snapping to grid, but ProGrids disabled

Discussion in 'World Building' started by dgoyette, Jul 24, 2020.

  1. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,120
    This seems to have started recently, and I'm not sure what to look for in terms of a solution. I have both ProBuilder and ProGrids installed. Normally, if I move a PB vert/edge/face with the drag tool, it will honor whatever ProGrids settings are active. If I set ProGrids to "Off", then there will be no snapping when moving PB elements. However, recently, I'm always experiencing snapping on PB elements even with ProGrids switched off.

    Here's what ProGrids looks like:

    upload_2020-7-24_0-30-21.png

    You can see it's off. However, if I drag a PB object's vert/edge/face, it will snap to 1 meter units. I can't disable this behavior anymore. If I change the snap increment to something else, it snaps to that amount instead. So, it's clear that some ProGrids settings are being used, but the On/Off switch isn't being honored.

    I tried fully uninstalling ProGrids, and that resolved the problem. But as soon as I installed ProGrids again, it's back to snapping 100% of the time. Note that this snapping doesn't occur when moving other game objects. Just PB elements.

    Has anyone seen this happen before? Is there some value possibly being set somewhere in some file I can delete/reset to correct this behavior?
     
  2. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    548
    Is the built-in snapping activated?

    I also remember vaguely an issue with the ProGrids integration in ProBuilder that matches this description, but I can't anything in the changelog that mentions it.
     
  3. dgoyette

    dgoyette

    Joined:
    Jul 1, 2016
    Posts:
    4,120
    This setting?
    upload_2020-7-24_11-4-57.png

    I've tried toggling that while in Global mode, but it doesn't affect PB behavior. I also tried going into Preferences, and resettings the ProGrids preferences, and unchecking "Sync with Unity Snap", but so far it's not changing anything.

    I had originally assumed this was something weird that happened in my main project. But this is actually easy to reproduce in a brand new project. I reported bug #1265623 with a repro project.

    This appears to be a regression in ProBuilder between 4.2.3 and 4.3.1. I started a new project and installed ProGrids and PB 4.2.3, and there's no unwanted snapping behavior. I then upgraded to PB 4.3.1, and the snapping behavior starts happening.
     
  4. kaarrrllll

    kaarrrllll

    Unity Technologies

    Joined:
    Aug 24, 2017
    Posts:
    548
    Thanks, I will follow up on the case.
     
  5. marcospgp

    marcospgp

    Joined:
    Jun 11, 2018
    Posts:
    162
    This still happens on latest stable release, but seems fixed on latest preview release. Please get this onto stable when you can!
     
    kaarrrllll likes this.
  6. Katerlad

    Katerlad

    Joined:
    Mar 26, 2015
    Posts:
    16
    This is happening to me currently on 2020.3.25f1 with ProBuilder 4.5.2 and ProGrids 3.0.3-preview.6.

    Unity WorldGridSnapping is turned off. Has anyone found a solution to quick fix?
     
  7. ArrestedoftheG

    ArrestedoftheG

    Joined:
    Jan 30, 2022
    Posts:
    1
    If you want a temporary fix, set the snap value to 0. I know it does use more time but it will work.