chromealex / Unity3d.UI.Windows

Unity 3D UI (uGUI) Windows Extensions
http://chromealex.github.io/Unity3d.UI.Windows/
Other
506 stars 109 forks source link

create screen->layout from project dont work #15

Closed ladon closed 9 years ago

ladon commented 9 years ago

Create empty window from Graph. Try create screen from project menu and try create layout NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Windows.WindowSystem.ApplyToSettings (UnityEngine.Canvas canvas) (at Assets/UI.Windows/Core/WindowSystem.cs:355) UnityEditor.UI.Windows.WindowLayoutEditor.Update_EDITOR (UnityEngine.UI.Windows.WindowLayout _target) (at Assets/UI.Windows/Layouts/Editor/WindowLayoutEditor.cs:393) UnityEditor.UI.Windows.WindowLayoutEditor.UpdateLinks (UnityEngine.UI.Windows.WindowLayout _target) (at Assets/UI.Windows/Layouts/Editor/WindowLayoutEditor.cs:317) UnityEditor.UI.Windows.WindowLayoutEditor.OnInspectorGUI () (at Assets/UI.Windows/Layouts/Editor/WindowLayoutEditor.cs:31) UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1162) UnityEditor.DockArea:OnGUI()

chromealex commented 9 years ago

Be sure you have the latest version. If so, be sure you have an Initializer on the currently opened scene.

On Friday, August 14, 2015, ladon notifications@github.com wrote:

Create empty window from Graph. Try create screen from project menu and try create layout NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Windows.WindowSystem.ApplyToSettings (UnityEngine.Canvas canvas) (at Assets/UI.Windows/Core/WindowSystem.cs:355) UnityEditor.UI.Windows.WindowLayoutEditor.Update_EDITOR (UnityEngine.UI.Windows.WindowLayout _target) (at Assets/UI.Windows/Layouts/Editor/WindowLayoutEditor.cs:393) UnityEditor.UI.Windows.WindowLayoutEditor.UpdateLinks (UnityEngine.UI.Windows.WindowLayout _target) (at Assets/UI.Windows/Layouts/Editor/WindowLayoutEditor.cs:317) UnityEditor.UI.Windows.WindowLayoutEditor.OnInspectorGUI () (at Assets/UI.Windows/Layouts/Editor/WindowLayoutEditor.cs:31) UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1162) UnityEditor.DockArea:OnGUI()

— Reply to this email directly or view it on GitHub https://github.com/chromealex/Unity3d.UI.Windows/issues/15.

ladon commented 9 years ago

initializer... the area is still unknown to me. I will try to copy the example

chromealex commented 9 years ago

Fixed in 0.9.6a