JaredThirsk
Posts: 25
Joined: 04 Feb 2015, 23:20

Re: Unity 5 plan

08 Mar 2015, 15:19

[UPDATE: FIXED...see bottom.]
I am trying to get NoesisGUI working for the first time (Unity 5 Personal, x86 32 bit editor) but it is having trouble finding my (xaml) assets at runtime. Am I missing something?

Play in 32 bit editor:
Exception: Loading Assets/test.xaml
Resource Assets/test.xaml not found
Noesis.Error.Check () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisError.cs:21)
NoesisGUISystem.Noesis_LoadXAML (System.String xamlFile) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:327)
NoesisGUISystem.Load (System.String xamlFile) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:98)
NoesisGUISystem.LoadXaml (System.String xamlFile) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:37)
NoesisGUIPanel.OnEnable () (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:156)

Standalone on Windows:
Resource Assets/test.xaml not found
[ 0] [0x0F2F4851] Noesis.dll!Boxed_String_GetStaticType + 0x27e1 bytes
[ 1] [0x0F51BC4C] Noesis.dll!Noesis_LoadXAML + 0x1c bytes
[ 2] [0x10063CE3] mono.dll!mono_profiler_install_class + 0xf2 bytes
[ 3] [0x1011083A] mono.dll!mono_gc_get_generation + 0x78a7 bytes
[ 4] [0x10001D44] mono.dll!g_free + 0x316 bytes
FIXED
I followed the instructions and made sure DX9 and OpenGL were enabled in the Settings menu. That meant I unchecked DX11. But apparently Unity 5 uses DX11. I turned on all the checkboxes and now it works!
 
User avatar
sfernandez
Site Admin
Posts: 2997
Joined: 22 Dec 2011, 19:20

Re: Unity 5 plan

13 Mar 2015, 12:46

FIXED
I followed the instructions and made sure DX9 and OpenGL were enabled in the Settings menu. That meant I unchecked DX11. But apparently Unity 5 uses DX11. I turned on all the checkboxes and now it works!
Yes, the default graphics environment in Unity is now DX11, so this platform must be selected and resource built before playing the scene. We will update the documentation to reflect it.

Who is online

Users browsing this forum: No registered users and 2 guests