Author Topic: Layout Errors with NGUI and Unity Layout  (Read 5882 times)

Chaosgod_Espér

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
Layout Errors with NGUI and Unity Layout
« on: April 04, 2013, 03:02:17 PM »
hi there..

I imported several Assets. The list:

NGUI, Liquid particles, PlayMaker, Toon Explosions

Every Asset is updatet to the latest version. I´m using Unity 4.1.0f4 (free).

Today i started Unity.. And all my saved Layouts are corrupted. Each one is set back to the default Unity Layout, with "failed to destroy view" and more errors in the console.

So i reimported all assets - works now. But i´ve still this Error in the Console:
  1.         Layer index out of bounds
  2.         UnityEditorInternal.InternalEditorUtility:GetLayerName(Int32)
  3.         UnityEditor.EditorGUILayout:LayerField(String, Int32, GUILayoutOption[])
  4.         UICreateNewUIWizard:OnGUI() (at Assets/NGUI/Scripts/Editor/UICreateNewUIWizard.cs:43)
  5.         UnityEditor.DockArea:OnGUI()

The Error stacks in the console everytime i switch the windows. So.. I´ve the same error 20-30..etc times inside the console - and i´m able to clear it. But it appears again when i change window or do a testplay ._.

Does Someone know why this happens - and how to solve this?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Layout Errors with NGUI and Unity Layout
« Reply #1 on: April 05, 2013, 12:15:14 PM »
In the UI Tool, specify a valid layer.