[Unity][Bug?] Missing xaml exception - But it works... sort of...
Posted: 05 Apr 2018, 16:41
Hello,
I've run into an annoying bug.
Every time I restart the unity editor. All non-root XAML "paths" files "breaks". And, I can build but not run the build.
Only when I retrigger the XAML import likely by adding a space in the XAML, it works again.
Noesis throws an exception which usually happens only with missing XAML. But, the XAMLs works if I retrigger the import. It looks like that NoesisXaml.cs loss some important data.
It happens currently only to XAMLs who are nested in the root XAML.
Executable small demo project
http://www.mediafire.com/file/ltajyir5c ... UI_Bug.rar
If you have a problem with rars. Let me know, and I will upload it as a zip.
Open the master scene under CaveDigger/Scenes/
I hope you can it reproduce and it's not just my pc. I mean, I could hardly live with that problem in the editor ... nah probably not. But Runtime? I think you know what I mean.
I post this here because I am not sure if your bug tracker is ready to use... looks so empty^^ and I need attention.
Video demonstration
https://www.youtube.com/watch?v=xhjz9OT ... HbDo3AVdlQ
Regards,
Heia Samahi
I've run into an annoying bug.
Every time I restart the unity editor. All non-root XAML "paths" files "breaks". And, I can build but not run the build.
Only when I retrigger the XAML import likely by adding a space in the XAML, it works again.
Noesis throws an exception which usually happens only with missing XAML. But, the XAMLs works if I retrigger the import. It looks like that NoesisXaml.cs loss some important data.
It happens currently only to XAMLs who are nested in the root XAML.
Executable small demo project
http://www.mediafire.com/file/ltajyir5c ... UI_Bug.rar
If you have a problem with rars. Let me know, and I will upload it as a zip.
Open the master scene under CaveDigger/Scenes/
I hope you can it reproduce and it's not just my pc. I mean, I could hardly live with that problem in the editor ... nah probably not. But Runtime? I think you know what I mean.
I post this here because I am not sure if your bug tracker is ready to use... looks so empty^^ and I need attention.
Video demonstration
https://www.youtube.com/watch?v=xhjz9OT ... HbDo3AVdlQ
- 0:00-0:30 Working GUI
- 0:30 Restarting Editor
- 0:45 Not working anymore
- 1:00 Retrigger XAML import.
- 1:15 Error changed from ChunkEditView.xaml to TileEditView.xaml
- 1:40 After several reimports .. GUI working again.
- 1:50 Funny thing: Normally I must retriggering the DialogBasic & DialogList XAML as well. But not this time.
- 2:00-2:30 Restart Unity
- 2:30 Retriggering, just the Root Xaml, does not help at all.
- 2:50 Showing Noesis View Component
- Unity Version 2017.4.0f1 (b5bd171ee9ba)
- Noesis Version 2.1.0f1
Code: Select all
NoesisException: Xaml not found 'Assets/CaveDigger/UI/DialogSystem/DialogListView.xaml'
Rethrow as NoesisException
Noesis.Error.Check () (at Assets/NoesisGUI/Plugins/API/Core/NoesisError.cs:17)
Noesis.GUI.Noesis_LoadXaml_ (System.String xaml) (at Assets/NoesisGUI/Plugins/API/Core/NoesisGUI.cs:275)
Noesis.GUI.LoadXaml (System.String xaml) (at Assets/NoesisGUI/Plugins/API/Core/NoesisGUI.cs:125)
HeiKyu.Framework.XAML.DialogSystem.DialogList..ctor (HeiKyu.Framework.XAML.DialogSystem.DialogServices services, System.String title, System.String text, System.String buttonOk, System.String buttonCancel) (at Assets/CaveDigger/UI/DialogSystem/DialogList.cs:55)
HeiKyu.Framework.XAML.DialogSystem.DialogList..ctor (HeiKyu.Framework.XAML.DialogSystem.DialogServices services, System.String title, System.String text, System.String buttonOk, System.String buttonCancel, System.Action`1 buttonOkAction, System.Action`1 buttonCancelAction) (at Assets/CaveDigger/UI/DialogSystem/DialogList.cs:22)
CaveDigger.Scripts.UI.MainEditorViewModel.OnButtonClickMenuBarFileLoad () (at Assets/CaveDigger/Scripts/UI/MainEditorViewModel.cs:406)
CaveDigger.Scripts.UI.MainEditorViewModel.<Start>m__5 (System.Object o) (at Assets/CaveDigger/Scripts/UI/MainEditorViewModel.cs:153)
CaveDigger.Scripts.UI.DelegateCommand.Execute (System.Object parameter) (at Assets/CaveDigger/Scripts/UI/DelegateCommand.cs:42)
Noesis.Extend.CommandExecute (IntPtr cPtr, IntPtr paramType, IntPtr paramPtr) (at Assets/NoesisGUI/Plugins/API/Core/NoesisExtend.cs:1874)
Rethrow as NoesisException
Noesis.Error.Check () (at Assets/NoesisGUI/Plugins/API/Core/NoesisError.cs:17)
Noesis.View.Noesis_View_MouseButtonUp_ (HandleRef view, Int32 x, Int32 y, Int32 button) (at Assets/NoesisGUI/Plugins/API/Core/NoesisView.cs:457)
Noesis.View.MouseButtonUp (Int32 x, Int32 y, MouseButton button) (at Assets/NoesisGUI/Plugins/API/Core/NoesisView.cs:161)
NoesisView.ProcessEvent (UnityEngine.Event ev, Boolean enableKeyboard, Boolean enableMouse, Boolean emulateTouch) (at Assets/NoesisGUI/Plugins/NoesisView.cs:878)
NoesisView.OnGUI () (at Assets/NoesisGUI/Plugins/NoesisView.cs:950)
Heia Samahi