Closed ladon closed 9 years ago
Update - second compilation UI does not end. So need change graph to compile.
And destroy window do not help compile UI. Need create another window.
Is any errors in unity console while compile?
On Friday, August 14, 2015, ladon notifications@github.com wrote:
And destroy window do not help compile UI. Need create another window.
— Reply to this email directly or view it on GitHub https://github.com/chromealex/Unity3d.UI.Windows/issues/13#issuecomment-131219932 .
nop
error while create screen - NullReferenceException: Object reference not set to an instance of an object
UnityEngine.UI.Windows.Plugins.Flow.FlowDatabase.ReplaceComponents[FlowLayoutWindowTypeTemplate,WindowBase](UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate source, System.Type withType) (at Assets/UI.Windows/Addons/Flow/Core/Editor/FlowDatabase.cs:70)
UnityEngine.UI.Windows.Plugins.Flow.FlowDatabase.GenerateScreen (System.String filepath, System.String className, UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate template) (at Assets/UI.Windows/Addons/Flow/Core/Editor/FlowDatabase.cs:222)
UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilter+
Try to remove example flow project.
On Friday, August 14, 2015, ladon notifications@github.com wrote:
error while create screen - NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Windows.Plugins.Flow.FlowDatabase.ReplaceComponents FlowLayoutWindowTypeTemplate,WindowBase http://UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate%20source,%20System.Type%20withType (at Assets/UI.Windows/Addons/Flow/Core/Editor/FlowDatabase.cs:70) UnityEngine.UI.Windows.Plugins.Flow.FlowDatabase.GenerateScreen (System.String filepath, System.String className, UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate template) (at Assets/UI.Windows/Addons/Flow/Core/Editor/FlowDatabase.cs:222) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilter+cAnonStorey3.<>m5 (UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate element) (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilter.cs:188) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilterWindow+cAnonStorey5`1[UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate].<>mA (UnityEngine.Component c) (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilterWindow.cs:78) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilterWindow.DrawComponents (Int32 xCount, Single width, Single height, UnityEngine.GUIStyle itemBox, UnityEngine.GUIStyle style) (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilterWindow.cs:302) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilterWindow.OnGUI () (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilterWindow.cs:219) 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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. 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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:185) UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:178) UnityEditor.HostView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:74)
— Reply to this email directly or view it on GitHub https://github.com/chromealex/Unity3d.UI.Windows/issues/13#issuecomment-131226772 .
I think the error was because of naming conflict.
On Friday, August 14, 2015, Alex Silaev chrome.alex@gmail.com wrote:
Try to remove example flow project.
On Friday, August 14, 2015, ladon <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');> wrote:
error while create screen - NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Windows.Plugins.Flow.FlowDatabase.ReplaceComponents FlowLayoutWindowTypeTemplate,WindowBase http://UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate%20source,%20System.Type%20withType (at Assets/UI.Windows/Addons/Flow/Core/Editor/FlowDatabase.cs:70) UnityEngine.UI.Windows.Plugins.Flow.FlowDatabase.GenerateScreen (System.String filepath, System.String className, UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate template) (at Assets/UI.Windows/Addons/Flow/Core/Editor/FlowDatabase.cs:222) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilter+cAnonStorey3.<>m5 (UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate element) (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilter.cs:188) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilterWindow+cAnonStorey5`1[UnityEngine.UI.Windows.Plugins.Flow.FlowLayoutWindowTypeTemplate].<>mA (UnityEngine.Component c) (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilterWindow.cs:78) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilterWindow.DrawComponents (Int32 xCount, Single width, Single height, UnityEngine.GUIStyle itemBox, UnityEngine.GUIStyle style) (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilterWindow.cs:302) UnityEditor.UI.Windows.Plugins.Flow.FlowChooserFilterWindow.OnGUI () (at Assets/UI.Windows/Addons/Flow/ChooserFilter/Editor/FlowChooserFilterWindow.cs:219) 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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. 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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:185) UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:178) UnityEditor.HostView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:74)
— Reply to this email directly or view it on GitHub https://github.com/chromealex/Unity3d.UI.Windows/issues/13#issuecomment-131226772 .
Rebuilding Library because the asset database could not be found! Removing Assets/UI.Windows/Addons/DevicePreview/Resources/UI.Windows/DevicePreview/Images/Apple because the asset does not exist Removing Assets/UI.Windows/Addons/Flow/Example/ExampleProject/Gameplay/EndGame/Components because the asset does not exist Removing Assets/UI.Windows/Addons/Flow/Example/ExampleProject/Gameplay/GameplayHUD/Components because the asset does not exist Removing Assets/UI.Windows/Addons/Flow/Example/ExampleProject/Gameplay/GameplayView/Components because the asset does not exist
And so on start clean project with Assets dir from git.
You can remove Assets/UI.Windows/Addons/Flow/Example/ExampleProject folder completely. And ExampleProject.asset file too.
On Friday, August 14, 2015, ladon notifications@github.com wrote:
Rebuilding Library because the asset database could not be found! Removing Assets/UI.Windows/Addons/DevicePreview/Resources/UI.Windows/DevicePreview/Images/Apple because the asset does not exist Removing Assets/UI.Windows/Addons/Flow/Example/ExampleProject/Gameplay/EndGame/Components because the asset does not exist Removing Assets/UI.Windows/Addons/Flow/Example/ExampleProject/Gameplay/GameplayHUD/Components because the asset does not exist Removing Assets/UI.Windows/Addons/Flow/Example/ExampleProject/Gameplay/GameplayView/Components because the asset does not exist
And so on start clean project with Assets dit from git.
— Reply to this email directly or view it on GitHub https://github.com/chromealex/Unity3d.UI.Windows/issues/13#issuecomment-131231475 .
Fixed in 0.9.6a
Create window. Create container. Attach window to container. Try compile UI. (error) Step 3 - Processing files does not end. Unattach window from container. Destroy container. Try compile UI. (error) Step 3 - Processing files does not end.
Destroy all Create window. Try compile UI. Works.