1
\$\begingroup\$

Why can not I change collider`s border manually? I remember being able to do that. I just clicked the gray button under in this case Box Collider 2D component, then went to the Scene view and tweaked it as I wanted by clicking and moving collider`s border. But now when I do the same procedure on trying to click and drag the border in Scene view I am just losing focus of the collider, but do not change it in any way.

enter image description here

\$\endgroup\$
1
\$\begingroup\$

You need to reset layout to Default and then back to your work layout (if needed) and collider editing will work.

Also, you can close the Inspector and Hierarchy tab and then - reopen it.

Taken from Unity forums: http://answers.unity3d.com/questions/969724/i-cant-edit-my-collider-cursor-even-if-i-pressed-t.html

\$\endgroup\$
  • \$\begingroup\$ Closing Inspector, Hierarchy and then reopening them does not work. But the first approach worked out. I see no reasons for the Layout and my tweaking of collider borders to be connected. It is just a bug in the Editor. Am I right? \$\endgroup\$ – ohidano Jun 15 '17 at 19:53
  • \$\begingroup\$ It's probably a bug. It may happen when you have two inspectors opened :) Usually, restarting Unity fixes visual bugs like this one. \$\endgroup\$ – Jacob Jun 15 '17 at 20:07
  • \$\begingroup\$ in the case restarting Editor does nothing. \$\endgroup\$ – ohidano Jun 15 '17 at 20:09
  • \$\begingroup\$ It must be connected somehow to the Inspector's layout. Probably it clears the cache (restarting doesn't) :) \$\endgroup\$ – Jacob Jun 15 '17 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.