Author Topic: [Solved] Handles not working  (Read 4417 times)

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
[Solved] Handles not working
« on: August 24, 2014, 07:29:22 PM »
I can't seem to get the handles to work any more. 

Weird behavior:
  • Restarts of Unity do not affect this.  Nor do scene changes.
  • I can have the handles show up on UILabel GOs, but only if they are clicked twice.
  • Clicking any other NGUI GO does not even select it in the editor window.  They can only be selected via the hierarchy.
  • No errors, warnings or log entries are showing.
  • *Edit: Move (W) tool is selected.

Not sure what else might be relevant.  Ask and I'll answer.

Anybody else have this happening?

*Edit to add move tool comment.
« Last Edit: August 27, 2014, 08:49:15 AM by Zyxil »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Handles not working
« Reply #1 on: August 24, 2014, 07:56:24 PM »
Are you on Unity 4.6? There is a new Rect Transform tool (R). NGUI uses its mode now on Unity 4.6+.

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: Handles not working
« Reply #2 on: August 24, 2014, 08:01:06 PM »
I'm on Unity 4.5.2.  This must be it.  Upgrading to NGUI 3.7.1 just now didn't fix it.

I generally don't do beta software.  But for NGUI, I'll do it.   ;)

I'll report when upgraded.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Handles not working
« Reply #3 on: August 24, 2014, 08:02:46 PM »
If you're on 4.5 then that isn't it. I am on 4.5.2 myself. The Rect Transform thing is only for 4.6+ users.

If your handles don't show up, check the options.

NGUI menu -> Options -> Handles

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: Handles not working
« Reply #4 on: August 24, 2014, 08:08:51 PM »
Oops.  Meant to put that in the original list.

  • All NGUI options are turned on.  I have turned off and then on each item with no result.  (Except for working features to turn off/on.

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: Handles not working
« Reply #5 on: August 24, 2014, 08:14:23 PM »
I'll hold off on upgrading to 4.6beta since you're on 4.5.2.

Also, maybe relevant. The prefab toolbar constantly loses its labels. Though it seems to have corrected them since upgrading to 3.7.1.  I stopped using the snapshotter on my prefabs because of this.  I'll try them again now that they seem to be working again.

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: Handles not working
« Reply #6 on: August 25, 2014, 08:07:04 PM »
Bump.  Any idea on what is happening here?

What can I do to troubleshoot?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Handles not working
« Reply #7 on: August 26, 2014, 03:28:18 AM »
Do you have the UILabel component folded in inspector? That's about the only thing I can think of. No one seems to be experiencing anything similar.

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: Handles not working
« Reply #8 on: August 26, 2014, 07:30:42 PM »
I started unfolding everything in the inspector and things started working.

Why does this work this way?  It makes no sense.   :o

If it's an NGUI thing can we have this removed?  Folding the components keeps things neat and easy to read.

« Last Edit: August 26, 2014, 10:01:33 PM by Zyxil »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Handles not working
« Reply #9 on: August 27, 2014, 04:23:39 AM »
That's how Unity works. When you fold an element, all of its gizmos and handles disappear.

Try the same thing with a collider. If you fold the collider, the collider will be gone from the scene view.

Zyxil

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 4
  • Posts: 37
    • View Profile
Re: Handles not working
« Reply #10 on: August 27, 2014, 08:48:19 AM »
Thanks for the clarification. This has been driving me nuts.

I don't think NGUI works gracefully with this as when I was testing, one uibutton node reopened caused the whole hierarchy to enable.  So one NGUI element folded low in the hierarchy can disable all parent handles. It would make sense if there's a dependency there, but is quite confusing.