itech4ever
Topic Author
Posts: 4
Joined: 03 Aug 2017, 09:31

Upgrade from 1.2 to 2.0 - Unity - SOLVED, some notes for others

11 Nov 2017, 09:37

first of all, glad to see Noesis's back!

I am now using 1.2 for Unity that I downloaded directly from Asset Store. Everything went well but I want to move the NoesisGUI folder out of StreamingAsset so that users won't see those "compiled" xaml file directly. I then realized that I need to use 2.0 if I want that feature.

I tried to upgrade but noticed that the changes are relatively huge, e.g., Noesis GUI Panel script is now gone. so I am wondering if there is patch or tutorials/steps/instructions to guide me to do the upgrade? Thanks a lot!

Best,
Neo

Update:

Upgraded under Windows 7 with Unity 5.6.1f1 - Success.

Basically, you need to handle all the compiler errors, which are basically related to changing the Noesis Panel to Noesis View script.

Then, you need to add D3D11 to the graphics APIS for windows, not D3D9.
Last edited by itech4ever on 09 Dec 2017, 02:20, edited 2 times in total.
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Upgrade from 1.2 to 2.0 - Unity

13 Nov 2017, 11:37

Hello! We have never been gone : )

Effectively the changes are huge but the idea is very similar. You basically need to fix all C# compiler errors and then use the new component for rendering Noesis. It is a new one, but the properties are almost the same. I recommend you carefully reading this tutorial. Pay special attention to the user control part.

Sorry to say there is no automatic upgrade mechanism but we are here to help.
 
itech4ever
Topic Author
Posts: 4
Joined: 03 Aug 2017, 09:31

Re: Upgrade from 1.2 to 2.0 - Unity

21 Nov 2017, 04:04

Yes, this is a very good procedure. Thanks and will let you know if I get stuck somewhere :-)
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Upgrade from 1.2 to 2.0 - Unity

21 Nov 2017, 21:16

Thanks! Let us know please.
 
itech4ever
Topic Author
Posts: 4
Joined: 03 Aug 2017, 09:31

Re: Upgrade from 1.2 to 2.0 - Unity

02 Dec 2017, 03:47

Thanks! Let us know please.
Okay, everything went very well with very few changes, however, after the upgrade, I could not even run the sample scene such as login.

What I found initially was that when run my scene, I could not see the XAML dialog showing up. No messages, including errors or warnings, were found. I then opened the login scene and found out that the dialog could not be loaded either.

I am using Unity 5.6.1f1 and DX9. Any clues for me to examine further?

Thanks!

Update: If I go to Tools -> NoesisGUI -> Settings -> Reimport All. I got error message like the following:

Assets/NoesisGUI/Samples/ControlGallery/Samples/DockPanel.xaml</b>: Xaml not found 'Assets/NoesisGUI/Samples/ControlGallery/Samples/SimpleStyle.xaml'
Assets/NoesisGUI/Samples/ControlGallery/Samples/Palette.xaml</b>: Unable to load font 'Fonts/#K22 Ambelyn Condensed'
 
ivan_b
Posts: 100
Joined: 22 Jul 2015, 12:57

Re: Upgrade from 1.2 to 2.0 - Unity

02 Dec 2017, 13:38

I also had this problem when using DX9 but after switching to DX11 the sample scene should work.
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Upgrade from 1.2 to 2.0 - Unity

04 Dec 2017, 12:00

Effectively, D3D9 is no longer supported in NoesisGUI 2.0+.
Assets/NoesisGUI/Samples/ControlGallery/Samples/DockPanel.xaml</b>: Xaml not found 'Assets/NoesisGUI/Samples/ControlGallery/Samples/SimpleStyle.xaml'
Assets/NoesisGUI/Samples/ControlGallery/Samples/Palette.xaml</b>: Unable to load font 'Fonts/#K22 Ambelyn Condensed'
I would say you are mixing folders from the old package. Could you erase all NoesisGUI folders are reimport again?
 
itech4ever
Topic Author
Posts: 4
Joined: 03 Aug 2017, 09:31

Re: Upgrade from 1.2 to 2.0 - Unity

09 Dec 2017, 02:13

Ah I see. I will try and let you guys know. It should be the cause.

Update:

All good now. Deleted D3D9 in the Graphics APIs for Windows and added D3D11, all things are working now. Thanks guys!
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Upgrade from 1.2 to 2.0 - Unity - SOLVED, some notes for others

09 Dec 2017, 02:27

Thanks for the feedback!

Who is online

Users browsing this forum: Google [Bot] and 42 guests