Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: sumitkr99 on November 23, 2016, 05:10:16 AM
-
Dear, NGUI Developer Team
I have an issue with NGUI, After import latest NGUI plugin and when I created UIRoot in my scene and click on it the whole things got disappeared in the Hierarchy,Asset Folder and Inspector also and after that I can't able to work any more. As I have attached screenshot of problem which occurs in Unity 5.4.2.f2 version. I have already tried Unity Re-installing ,NGUI Re-Importing and checked for multiple image with same name as you have suggested in your forum.
Please Solve this problem as soon as possible.
Error Log:-
ArgumentException: An element with the same key already exists in the dictionary.
System.Collections.Generic.Dictionary`2[System.String,System.Int32].Add (System.String key, Int32 value) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:404)
UIAtlasMaker.GetSpriteList (System.Collections.Generic.List`1 textures) (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:228)
UIAtlasMaker.OnGUI () (at Assets/NGUI/Scripts/Editor/UIAtlasMaker.cs:968)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
-
You are trying to add two or more textures with the same name to your atlas. Give them a different name.