Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - artician

Pages: 1 [2] 3 4
NGUI 3 Support / Re: Fatal Error when updating
« on: May 23, 2014, 03:44:42 PM »
Thank you.  I think the issue I ran into is that while the individual pages on the Asset Store helpfully flag tools if they aren't compatible with your version of Unity, the "my packages" display section does not, and I generally update from there. 

Thank you!

NGUI 3 Support / Re: Fatal Error when updating
« on: May 22, 2014, 06:31:55 PM »
Yes, yes it is caused by NGUI.  Thanks for asking.

NGUI 3 Support / Anchors not working
« on: May 22, 2014, 04:42:08 PM »

I am running latest version, but over the last year, starting with NGUI 3.x, I've upgraded several times, so maybe it's a legacy issue?

My anchoring system does not work, I turned on Unified Anchoring for a sprite but it does not behave anything like what your tutorial videos show.  The main issue is that when I resize the viewport window in the editor, the Widgets do *not* move according to their anchor settings.  They behave as normal (moving off screen).
I have a basic setup in the form of a UIPanel, with a nested UIPanel beneath it.  In the child UIPanel, I have one sprite, which is the widget using anchoring. 

Any idea?

Thank you!

NGUI 3 Support / Simple Feature Request
« on: May 22, 2014, 04:35:25 PM »

I love NGUI and get flustered when I meet Unity devs who aren't using it. 

That said, something that is a nice convenience to have with the other Unity tools and plugins I use is an "About" section in the pulldown menu for the application.  Most importantly, I just want to know what version I am currently running without having to find a Readme.

Would be nice, and just a suggestion.

NGUI 3 Support / Fatal Error when updating
« on: May 22, 2014, 04:32:46 PM »
I ran into an issue with NGUI, but decided to update before posting about it. 

I was updating to the latest version from the asset store, and upon attempting to Import the latest version, Unity crashed immediately and I received this dialog:
Fatal error!

type == kMetaAssetType & pathName.find
(library/metadata") !=0

Can you tell me what this is? 
Also, can you tell me if there is a "proper" way to import a new version into an existing project?  (assuming this was my fault)

EDIT: this is preventing me from continuing work.  I deleted the NGUI directories and I still receive the above error when attempting to open Unity.


NGUI 3 Support / Re: Unable to right-click add script
« 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. 

NGUI 3 Support / Re: Unable to right-click add script
« 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. 

NGUI 3 Support / Re: Unable to right-click add script
« 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.

NGUI 3 Support / 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.

NGUI 3 Support / Re: Prevent UIInput from scrolling
« on: March 13, 2014, 07:32:30 AM »
Let me see if I can screencap the behavior to better explain.  I don't know why it would scroll either!  :)

NGUI 3 Support / Prevent UIInput from scrolling
« on: March 12, 2014, 12:29:45 PM »
I have a UIInput field that is a fixed size.  8 lines with 12 characters per-line.  I want the field to display all 96 characters at all the time, and I have the starting value filled out with 96 placeholder characters to begin with. 

I'm having several problems with this.  Firstly, when the input field is clicked by the user, the cursor jumps to the end of the text.  This isn't so much of a problem except that the text field will scroll up and out of view to display only the last few characters in it (this is a behavior with the Input field itself, please note I'm not talking about a Scroll-View, which I'm not using here).  If the user presses the up arrow repeatedly, the lines will scroll back down and display. 

Essentially I want this paragraph to display at all times, no scrolling within the input field, and allow the user to simply click it to edit without moving the text automatically. 

I have the UILabel set to display exactly 8 lines of text, with Clamped Content and a Character Limit on the UIInput component set to 96 characters exactly.  How can I keep this from scrolling?

Thank you in advance.

NGUI 3 Support / Re: (problem) Objects stacking in grid
« on: February 27, 2014, 09:59:41 AM »
That was it.  Thank you!

I was using someone else's code and thought they knew better than me, and that those functions were interchangeable.  It works now.

Much appreciated!

NGUI 3 Support / Re: (problem) Objects stacking in grid
« on: February 26, 2014, 06:29:12 PM »

  1.                         UITable mTable = NGUITools.FindInParents<UITable>(childInstance.Value);
  2.                         if (mTable != null) {
  3.                                 mTable.repositionNow = true;
  4.                         }

Unless that's wrong!

NGUI 3 Support / (problem) Objects stacking in grid
« on: February 26, 2014, 05:48:12 PM »
Hey all, I upgraded a project of mine from 2.x to 3.x today.  It took all day but more or less went off without too much issue.

The problem I'm having is probably due to not understanding all the new features, but I can't figure it out myself.
Basically I have a UIScroll View on a Panel, and a Grid child beneath it.  During runtime I instantiate a simple button prefab with three child labels under the Grid via the AddChild function, and this is the result:

And my Panel and Grid properties are like so, respectively:

I appreciate any help you can give!

NGUI 3 Support / Looking for documentation
« on: February 25, 2014, 11:42:19 AM »
I'm working on a project which uses a pre-3.0 version of NGUI.

There used to be a writeup that described how the scroll-window was set up, but I can no longer find it.  I can't remember how to set it up looking at the interactive example (I thought it was more complex than that), so if someone could tell me where I might find that old how-to I would much appreciate it.

Thanks in advance!

Pages: 1 [2] 3 4