Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: samshosho on November 24, 2013, 12:27:40 PM

Title: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on November 24, 2013, 12:27:40 PM
Just got the new update from the asset store, and yes i did a clean install, removed the old version and then imported the new one.
When i go to NGUI menu, then Open, Then Atlas Maker,,, nothing shows !!! So i can't make an atlas, and i can't add or remove from an atlas.
Also, widget Wizard and UI Wizard, do the same thing, nothing shows when clicked.

The rest are fine, they show the pop up window and you can work on it just as usual.

Let me know how to fix this, or another way to show the window of Atlas Maker, Widget Wizard and UI Wizard.

Thanks,
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: ArenMook on November 24, 2013, 04:54:49 PM
If you have any errors in the console, menu items won't work. You must resolve the errors first.

Also, you don't need to use the Widget Wizard anymore. Just drag & drop control prefabs directly into your scene (search for "Wooden" for some starter controls).
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on November 25, 2013, 08:53:02 AM
I don't have any errors in the console.
Also, i said some work and some don't. So clearly if some work, then there is no errors in the console.

Never that i asked you for a help, that you answered in a good manner. Always something wrong with everyone but not your package?

Hope you can help with this one, up until now i didn't leave a review on the asset store, but so far your support sucks !
sorry to say that, but it does.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: npritchard on November 25, 2013, 12:35:14 PM
I had this problem with the Widget Wizard.

In my case it was a Unity Window problem.

Try going into Window -> Layout -> Revert Factory Settings

Hope that helps.


Ps. I've always found that support has been excellent!
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on November 25, 2013, 01:33:58 PM
Didn't do anything!
Just lost my layouts!

Thanks for trying to help.

I can't do anything with NGUI without being able to open the atlas and add my sprits!!!

I am sorry, but waiting two days to get one reply is not acceptable.
I would consider this package to be a loss, and will never get anything else from you. Plus i am heading to the asset store to leave you a review that you and your package deserve!
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: ArenMook on November 25, 2013, 06:17:48 PM
No need to get upset. It would help if you provided some more details to go on. The "window doesn't open!" isn't overly descriptive as it does open for everyone else. NGUI opens the atlas maker window exactly the same way as it opens every other window, and the only reason why menu items wouldn't work is the error in the console log, which is why I suggested it. NGUI doesn't conspire against you and doesn't hate you, but it is limited by what Unity does, and as npritchard pointed out sometimes your layout can break it. If even reverting the layouts didn't make it possible to open the window, then that issue is something unique to your computer, and all I can do is help you via remote desktop if you're up for that.

P.S. Just read your "review". That was uncalled for.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 11:00:04 AM
Okay, i hope you can help me on this.

When i touch an NGUI button, that suppose to set active to an NGUI sprite or NGUI button, the whole GUI blinks.
This is first problem.

Seconds problem,
When i set active to one or more NGUI UI items, such as Sprites and Buttons, then hide them with Set Active (false), if i try to set them active again, nothing shows on the screen , until i touch a place where a button suppose to be, then the whole items would show.

For example, i have a menu with few buttons and sprites, then when a button is touched, i switch to another menu with different sprites and buttons, now everything is fine, if i touch back button to go to the first menu items, nothing shows up, everything disappears! until i touch a place where a button is suppose to be, then the whole menu gui shows.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 02:59:31 PM
Any help ?
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: ArenMook on December 05, 2013, 03:08:30 PM
Regarding the blinking there can be two causes. If you're using the latest released version (f7) then the first cause is already fixed. The second cause is currently addressed in the Pro version, but since it's not out yet, you can address it by doing targetGO.Broadcast("CreatePanel"), where 'targetGO' is the game object you're activating.

If you're not doing it via code, then you can address it by modifying NGUITools.SetActive function to the following:
  1.         static public void SetActive (GameObject go, bool state)
  2.         {
  3.                 if (go)
  4.                 {
  5.                         if (state)
  6.                         {
  7.                                 Activate(go.transform);
  8. #if UNITY_EDITOR
  9.                                 if (Application.isPlaying)
  10. #endif
  11.                                         go.BroadcastMessage("CreatePanel", SendMessageOptions.DontRequireReceiver);
  12.                         }
  13.                         else
  14.                         {
  15.                                 Deactivate(go.transform);
  16.                         }
  17.                 }
  18.         }
Re: second problem -- are you using NGUITools.SetActive, or gameObject.SetActive? You should use the former.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 03:43:14 PM
the new version on the asset store is 3.0.6 f1 , not f7 ?!
will give that a try and let you know.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 03:52:49 PM
as to sending message to the GO being activated, i have panels with ton's of GOs underneath it, with 3d models that go very deep in the hierarchy, so having to send message to all that is not very efficient.

You said you fixed the problem, but haven't released it yet, why don't you give me the line of code and i can fix it, or send me the script that needed to be fixed.

That's if it's as simple as fixing one script or two.

Still testing the send message, will let you know.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 03:55:14 PM
didn't fix the problem, exact same thing.

Whole GUI goes away, but if i touch a place where a button suppose to be, then it reappears.
Why don't you give me a line of code to call, that simulate touching a button (hovering) not actually registering a touch. Then i can call that, just for the menu to appear for now, until you get a good fix.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: ArenMook on December 05, 2013, 03:59:14 PM
The latest NGUI public release is 3.0.6 f7, not f1. And that's the version that's on the Asset Store.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: ArenMook on December 05, 2013, 04:00:58 PM
With the latest version (f7), and the function replacement I posted (NGUITools.SetActive), all you need to do to activate something is:
  1. NGUITools.SetActive(targetObject, true);
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 04:13:05 PM
The latest NGUI public release is 3.0.6 f7, not f1. And that's the version that's on the Asset Store.

just download and imported the latest version, but in the import panel it said 3.0.6 f1 , it's not our subject anyway.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 04:15:36 PM
With the latest version (f7), and the function replacement I posted (NGUITools.SetActive), all you need to do to activate something is:
  1. NGUITools.SetActive(targetObject, true);

i have already done this by reading other posts in this support section, but that didn't fix anything. All my Unity SetActive for your NGUI items have been swapped, and what a headache that was! and after finalizing everything and uploading to my iPhone, i find out that it didn't do a thing!

Yes adjust about 600 lines for nothing, thank you!
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: samshosho on December 05, 2013, 04:19:21 PM
The new update seem to fix something, now it works. Not sure if it's the sendmessage thing, because i tried it before getting the new update, and it didn't work.
Anyway, problem solved, but i hope it's not the send message method that fixed it, as i literarily have in one panel over 100 GOs.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: robotink on December 09, 2013, 07:08:55 PM
I had this problem with the Widget Wizard.

In my case it was a Unity Window problem.

Try going into Window -> Layout -> Revert Factory Settings

Hope that helps.


Ps. I've always found that support has been excellent!


Just had this same problem with the Atlas Maker window, this fixed it. thanks!
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: Sylker on February 03, 2014, 12:16:33 AM

I got the same problem of Atlas Maker window not showing.

In fact the window has been rendered behind Unity main window and the function "Bring All to Front" was ineffective.

I just resized Unity window and grab the Atlas Make window back to it and docked where I wanted.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: arkon3 on February 20, 2014, 08:37:56 AM
I just had the same problem. I'd pinned atlas maker and widget wizard to two unity windows for ease of access. a few days later unity crashed like it often does and I lost my custom window layout. When I re ran unity the NGUI pinned windows were missing and I could't get them to show up again from the NGUI menu. First tried resetting to factory defaults which didn't work. Then out of frustration tried another reset and this time it worked and I can not open the atlas maker and widget wizard.

Oh and ArenMook, the widget wizard is far more useful than the new dropping prefabs idea. to drop prefabs you have to first find them and in a big project that can take some time. Far easier to pin the (legacy) widget wizard to a window and add them there, so please don't remove this tool, intact please improve it, don't make it redundant.
Title: Re: NGUI/Open/Atlas Maker does not show the atlas maker!!!
Post by: mishaps on March 16, 2014, 02:18:53 AM
I have had this problem with the NGUI windows not showing. This issue was resolved for me by following the suggestion to "Revert To Factory Settings..." under the Layout menu in the top right.