[Bug] Since ProBuilder 4.0.4 on MacOS 10.14.5, you cannot select faces, edges, or verticles

After ProBuilder 4.0.4 on MacOS, it is impossible to select a face, edge, or vertex by clicking.

STEPS TO REPRODUCE:

  1. Create a blank project on any Unity version on MacOS.
  2. Install ProBuilder (any version from 4.0.4 onward) from the Package Manager.
  3. Create an object such as a cube, attempt to select a face, edge, or vertex.
  4. The attempted selection will highlight on mouse-over, but upon clicking, it will blink as if it was selected and deselected instantly.

A workaround is to select using a box selector, but sometimes that picks up a backface or an adjacent part.
Any version before 4.0.4 works just fine.

2 Likes

I’m able to reproduce using Unity 2018.3, I will get this fixed asap.

Edit - I lost the ability to reproduce after re-importing the entire project. If this is feasible for your project size, can you please try this and let me know if it works for you as well?

How should I “reimport” my project? Found no process to do it on Google.

UPDATE: I think I may have found the option in Assets > Reimport All. This hasn’t worked for me, if that is what you wanted me to do.

Yes, that was it. Okay, I will keep looking for a reproduce-able case.

I too am having this issue. I’ve “reimported all” and no dice. I’m using 4.1.0 of pro builder and 2019.2 and I’m on a mac.

Thanks for working on this!

Hi @kaarrrllll

This reproduces 100% on my machine and I was able to track it down to s_PickingDistance being 0. Because of that if (pickedElementDistance > pickerPreferences.maxPointerDistance) in DoMouseClick is basically always true, which shortcuts into selecting nothing.

I also see that s_PickingDistance was intended to be a configurable setting, but because no category and title are set for it in ProBuilderEditor.cs it doesn’t show up in Unity. Also from that file, I see that the default value for s_PickingDistance was intended as 128 so how it becomes 0 I don’t know.

I have fixed the issue for myself by making s_PickingDistance configurable in Unity by setting a category and title for it and then set it to something larger than 0.

Hope this helps.

3 Likes

I have this happen, my fix is to open Probuilder Preference and do a Reset All.
It happens on pretty much every new install of Unity.

4 Likes

This fixed the issue for me as well.

1 Like

Thank you @MaxedHuk , that’s great work. I will look into why that value is being set to 0.

2 Likes

Someone PLEASE hire this man.

1 Like

We don’t deserve you!

Just wanted to chime in. I’m having this problem as well with pro builder 4.1.0, Unity 2019.2.6f1 on macOS Mojave 10.14.6. However, I was able to fix this issue by going to the pro builder preferences and doing “reset all”, just as [artysta]( [Bug] Since ProBuilder 4.0.4 on MacOS 10.14.5, you cannot select faces, edges, or verticles members/artysta.12243/) mentioned.

1 Like

Fixed for me as well.

Yes, going to Probuilder’s preferences and “reset all” worked for me too. What a frustrating bug! I couldn’t even do the most basic things needed to use probuilder…this to me is a very serious bug (for Mac users)

Just incase someone else felt like a dummy while trying to look for the “Reset All” in the Probuilder Preference

It’s the small cog in the upper right corner.

2 Likes

There will be an update out soon that addresses this, just need to have it run through QA :slight_smile:

2 Likes