Page 1 of 1

Rendererd3d11 exception

Posted: 09 Jun 2014, 15:16
by Fanch
I'd like to use NoesisGUI trial to test neosisgui which seems great.

I just tried to add NoesisGUIPanel in the scene camera and add a sample's xaml in this script but when i'm executing the project, i got this exception :

RendererD3D11 not supported
Noesis.Error.Check () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisError.cs:60)
NoesisGUISystem.Noesis_Init (System.String dataPath, System.String pluginsPath) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:410)
NoesisGUISystem.DoInit () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:175)
NoesisGUISystem.Init () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:131)
NoesisGUISystem:Create() (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisGUISystem.cs:23)
NoesisGUIPanel:OnEnable() (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:62)

On the other hand, if i start from DemoShooter project, add a new scene, the noesis panel on main camera, gui script on it and a xaml, it's works without any problem.

How can i solve this renderer issue on new projects?

(I'm on win7, using NoesisGUI- on Unity 4.5)

Re: Rendererd3d11 exception

Posted: 09 Jun 2014, 23:15
by jsantos
DX11 is yet not supported. This feature is coming in the next major release (v1.2).

For now, you have to use DX9 in Unity. In Unity 4.6+ newly created projects default to DirectX 11 on Windows now. It can be changed in Player Settings.

Re: Rendererd3d11 exception

Posted: 03 Jul 2014, 11:48
by Morothar
I'm using Unity Pro 4.5.1 on my Windows 8.1 machine, While I have disabled the option in the player settings I still get the error whenever I run the project in the editor. Is there any way to force disable DX11 in the editor?

Re: Rendererd3d11 exception

Posted: 03 Jul 2014, 12:09
by Morothar
Okay, Update:

As it seems the latest Unity runs on DX11 by default. As stated in the manual one can add -force-d3d9 as commandline parameter to help with that. This way I can now work with NoesisGUI on this machine.

Re: Rendererd3d11 exception

Posted: 04 Jul 2014, 13:27
by jsantos
Thanks for the info. It will be useful for the rest of users.