Author Topic: UIRoot Hierarchy,Asset Folder and Inspector disappeared After Click On UIRoot  (Read 10331 times)

sumitkr99

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
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)





ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
You are trying to add two or more textures with the same name to your atlas. Give them a different name.