- itech4ever
- Posts: 4
- Joined:
Upgrade from 1.2 to 2.0 - Unity - SOLVED, some notes for others
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.
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.
Re: Upgrade from 1.2 to 2.0 - Unity
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.
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
- Posts: 4
- Joined:
Re: Upgrade from 1.2 to 2.0 - Unity
Yes, this is a very good procedure. Thanks and will let you know if I get stuck somewhere
Re: Upgrade from 1.2 to 2.0 - Unity
Thanks! Let us know please.
- itech4ever
- Posts: 4
- Joined:
Re: Upgrade from 1.2 to 2.0 - Unity
Okay, everything went very well with very few changes, however, after the upgrade, I could not even run the sample scene such as login.Thanks! Let us know please.
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'
Re: Upgrade from 1.2 to 2.0 - Unity
I also had this problem when using DX9 but after switching to DX11 the sample scene should work.
Re: Upgrade from 1.2 to 2.0 - Unity
Effectively, D3D9 is no longer supported in NoesisGUI 2.0+.
I would say you are mixing folders from the old package. Could you erase all NoesisGUI folders are reimport again?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'
- itech4ever
- Posts: 4
- Joined:
Re: Upgrade from 1.2 to 2.0 - Unity
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!
Update:
All good now. Deleted D3D9 in the Graphics APIs for Windows and added D3D11, all things are working now. Thanks guys!
Re: Upgrade from 1.2 to 2.0 - Unity - SOLVED, some notes for others
Thanks for the feedback!
Who is online
Users browsing this forum: Google [Bot] and 42 guests