Author Topic: Unable to right-click add script  (Read 2521 times)

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Unable to right-click add script
« on: April 22, 2014, 12:09:18 AM »
I dont know if this is a new version issue or not, but, not knowing exactly what version I was using, I discovered in a project tonight I was unable to right-click-add a script to a UI element I had selected.  The NGUI popup menu worked fine, but when I selected the script to be added, it did not appear in the component list on the object.  This happened with multiple scripts (scrollbar, slider, button).

I can however add the script if I select the element and add it via the pull-down menu; NGUI -> Attach -> etc.

Despite that, my colliders ceased to receive any input.  Everything is on the proper layer with the event masks set up correctly.  I deleted the NGUI folder entirely, updated to whatever version was released in the last day or so, (so I am now running latest), and the issue is still present.  I still can't right-click-add any scripts, and when I add from the pulldown menu, the colliders don't receive any events.

Thanks for any help.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Unable to right-click add script
« Reply #1 on: April 22, 2014, 05:02:04 AM »
Everything seems to be working just fine on my end in Unity 4.3.4, 4.2.2 and 3.5.7. What version of Unity are you using?

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Unable to right-click add script
« Reply #2 on: April 22, 2014, 10:18:07 AM »
I am running 3.5.7f6. 
Any idea what could be lingering in my project that would cause such an issue, even after the NGUI folder was deleted and the latest version reimported from the Asset Store?

Thanks for your help.

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Unable to right-click add script
« Reply #3 on: April 22, 2014, 11:06:37 AM »
I've created several new, empty projects to see if I can get this to work.  It does not.  Additionally, on the last attempt, when trying to import NGUI, I received this error:



I have a talk tonight that features NGUI so this could not possibly be coming at a worse time. 

artician

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 54
    • View Profile
Re: Unable to right-click add script
« Reply #4 on: April 22, 2014, 11:27:08 AM »
After starting my fourth empty project and importing NGUI from the Asset Store, everything is working with the exception of the right-click-add. 

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Unable to right-click add script
« Reply #5 on: April 23, 2014, 07:38:54 AM »
Seems you are the only one running into this, which begs the question... what version of Windows are you running?