zyzyx
Topic Author
Posts: 19
Joined: 13 Aug 2014, 13:19

[UNITY] Infinite is not a valid value

09 Sep 2014, 14:00

Hi,
I just startet messing around with styles and templates when I got this error message:
Exception: Loading Assets/_Project/Xaml/GuiTest.xaml
Infinite is not a valid value for FrameworkElement.Width property
Noesis.Error.Check () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisError.cs:60)
NoesisGUISystem.Noesis_LoadXAML (System.IntPtr& root, System.String xamlFile) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:314)
NoesisGUISystem.Load[FrameworkElement] (System.String xamlFile) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:90)
NoesisGUISystem.LoadXaml[FrameworkElement] (System.String xamlFile) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:34)
NoesisGUIPanel.OnEnable () (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:149)
The XAML works fine when I build it in an WPF project. Is there a way to find out which FrameworkElement throws the exception?
Last edited by zyzyx on 11 Sep 2014, 11:37, edited 1 time in total.
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: [UNITY] Infinite is not a valid value

09 Sep 2014, 15:22

Could you share the XAMLs here (or privately in the bugtracker)?
 
zyzyx
Topic Author
Posts: 19
Joined: 13 Aug 2014, 13:19

Re: [UNITY] Infinite is not a valid value

09 Sep 2014, 15:26

Shure, I attached the xaml.

EDIT: attaching files doesn't seem to work. Here is a gist:
https://gist.github.com/anonymous/847ebc1fe3bd16611df4
 
User avatar
sfernandez
Site Admin
Posts: 1911
Joined: 22 Dec 2011, 19:20

Re: [UNITY] Infinite is not a valid value

11 Sep 2014, 11:36

We found the bug, will be fixed for the next release.
 
zyzyx
Topic Author
Posts: 19
Joined: 13 Aug 2014, 13:19

Re: [UNITY] Infinite is not a valid value

11 Sep 2014, 11:38

Great, thanks!
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: [UNITY] Infinite is not a valid value

11 Sep 2014, 11:46

Thanks for reporting the bug in the tracker. Is is the best way to follow it.

Who is online

Users browsing this forum: No registered users and 0 guests