User avatar
jsantos
Site Admin
Topic Author
Posts: 2488
Joined: 20 Jan 2012, 17:18
Contact:

[Unity] v1.2 Preview

24 Sep 2014, 17:32

We have published the seventh beta of 1.2 for Unity. Important points:
  • Don't use this version in production projects. This version is yet not ready for that.
  • Supported platforms:
    • Windows x86 & x86_64
    • OSX x86 & x86_64
    • Windows Store x86 & arm
    • Windows Phone x86 & arm
    • Linux x86
    • iOS (to be added in b8)
    • Android (to be added in b8)
  • Main changes from v1.1:
    • Improved C# API with properties, objects and boxing. Now our API is more similar to WPF (although yet not perfect). This change will probably break your code.
    • Basic types (Point, Rect, Size) are now structs to improve the GC usage.
    • Support for DirectX11
    • Support for Windows Store & Windows Phone 8.1
    • A faster drawing algorithm (can compare with v1.1 using the Batching Debug Drawer in the component). A faster and more optimized Noesis style.
    • Improved Unity project layout: .make and .font files no longer needed, no more temp files inside /Assets, no more assets inside /StreamingAssets that cannot be regenerated.
    • Extended attribute deprecated. Deriving from Noesis.BaseComponent is no longer needed.
    • Support for the following interfaces: ICommand, IValueConverter, IList, IDictionary, INotifyPropertyChanged, and INotifyCollectionChanged that can be implemented in c#
    • Added support for generics.
    • ObservableCollection<T> implemented
Please, test the beta and comment here. Help us to have the final version as soon as possible. Thanks!
 
kayrk
Posts: 41
Joined: 07 May 2014, 19:41

Re: [Unity] v1.2 Preview

25 Sep 2014, 05:03

So I got all my code converted over using Properties instead of the functions now. Great change. I'm only having one issue now I keep getting the error Exception: Loading Assets/GUI/GameLobby.xaml Child already has a logical parent. This is what is loaded from GameLobby.xaml as a UserControl http://pastebin.com/YB7fs8k5 any help is appreciated.
 
User avatar
Scherub
Posts: 141
Joined: 06 May 2014, 20:53
Contact:

Re: [Unity] v1.2 Preview

25 Sep 2014, 12:03

I'll try to create a branch the coming weekend and convert everything related to Noesis to v1.2. I'm very curious how this will work out.

Just a few questions:

1. Are generics already working? Is the "Extended" keyword still required? I guess those things weren't changed yet?

2. What will be the update cycle? If any major bugs occur, how long will it take you to fix it?
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 2488
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] v1.2 Preview

26 Sep 2014, 10:59

So I got all my code converted over using Properties instead of the functions now. Great change. I'm only having one issue now I keep getting the error Exception: Loading Assets/GUI/GameLobby.xaml Child already has a logical parent. This is what is loaded from GameLobby.xaml as a UserControl http://pastebin.com/YB7fs8k5 any help is appreciated.
I will investigate it as soon as I am back from the EGX at London. Could you please verify that this is only happening in the v1.2 and that you are not getting this error in the last v.1.1?

Thanks.
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 2488
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] v1.2 Preview

26 Sep 2014, 11:03

1. Are generics already working? Is the "Extended" keyword still required? I guess those things weren't changed yet?
Generics not yet supported. "Extended" keyword still needed. But all this is planned for the final v1.2.
2. What will be the update cycle? If any major bugs occur, how long will it take you to fix it?
As soon as v1.2 ends its beta period this will be our official version and will be updated at the same frequency that v1.1is being update right now (new version each 2-4 weeks).
 
User avatar
Scherub
Posts: 141
Joined: 06 May 2014, 20:53
Contact:

Re: [Unity] v1.2 Preview

26 Sep 2014, 11:34

Thank you for your answer but I wanted to know the update cycle of the 1.2 beta version. :) 2-4 weeks appear to be a bit long for that, especially as there could be breaking bugs in there. If that's the case I don't think testing it would be really feasible. :(
 
kayrk
Posts: 41
Joined: 07 May 2014, 19:41

Re: [Unity] v1.2 Preview

26 Sep 2014, 15:33

So I got all my code converted over using Properties instead of the functions now. Great change. I'm only having one issue now I keep getting the error Exception: Loading Assets/GUI/GameLobby.xaml Child already has a logical parent. This is what is loaded from GameLobby.xaml as a UserControl http://pastebin.com/YB7fs8k5 any help is appreciated.
I will investigate it as soon as I am back from the EGX at London. Could you please verify that this is only happening in the v1.2 and that you are not getting this error in the last v.1.1?

Thanks.
This indeed worked fine in 1.1. I only started to get the error in 1.2
 
kayrk
Posts: 41
Joined: 07 May 2014, 19:41

Re: [Unity] v1.2 Preview

30 Sep 2014, 02:45

I have taken care of the other bug by redoing my xaml and it seems to be fine now. I'm having another issue now that used to work and no longer does. I'll go ahead and post it here.
                renderTexture = gameManager.GetComponent<Minimap>().Output; //render texture
                Noesis.ImageBrush texBrush = new Noesis.ImageBrush();
                texBrush.ImageSource = new Noesis.TextureSource(renderTexture);
                MinimapRenderGrid.Background = texBrush;
I'm going to attach Unity vs to this and see if I can figure out exactly what the issue is but its hard crashing the Unity Editor or Standalone build when it hits this code.

Edit:

After attaching unity vs and debugging this is where the issue is. http://gyazo.com/d6852b027c55857d7b28912f234a9c33 System.InvalidOperationException: Native type is not registered. Hopefully you guys can help me out with this.
Last edited by kayrk on 30 Sep 2014, 16:55, edited 2 times in total.
 
golgepapaz
Posts: 43
Joined: 01 Aug 2013, 01:59

Re: [Unity] v1.2 Preview

30 Sep 2014, 16:36

I'm getting the following exception on x64 build but it does not occur on x86 build. Here is the exception
[DX9] Resource ID for 'Drawing/VGL/vglMask.shader' not found

[ 0] [0x000007FEE8499FD8] Noesis.dll!Noesis::Core::NoesisError + 0x28 bytes
[ 1] [0x000007FEE8499F9C] Noesis.dll!Noesis::Core::InvokeErrorHandler + 0x7c bytes
[ 2] [0x000007FEE84D8070] Noesis.dll!Noesis::Gui::BeginStoryboard::GetName + 0x6a0 bytes
[ 3] [0x000007FEE84D7C71] Noesis.dll!Noesis::Gui::BeginStoryboard::GetName + 0x2a1 bytes
[ 4] [0x000007FEE88F65AF] Noesis.dll!Noesis::Gui::Timeline::Completed + 0x867f bytes
[ 5] [0x000007FEE84A058E] Noesis.dll!Noesis::Core::Thread::GetNativeHandle + 0x92e bytes
[ 6] [0x000007FEE84A051F] Noesis.dll!Noesis::Core::Thread::GetNativeHandle + 0x8bf bytes
[ 7] [0x000007FEE849F5A9] Noesis.dll!MouseState_rightButton_get + 0x269 bytes
[ 8] [0x000007FEE885DE08] Noesis.dll!Noesis_Init + 0x2c8 bytes
[ 9] [0x00000000046B8303]
[10] [0x000000000019E8A0]
[11] [0x000000000BE0AE30]
[12] [0x0000000002276CC0]
[13] [0x0000000002266460]
[14] [0x000000000BE0AE30]
 
User avatar
jsantos
Site Admin
Topic Author
Posts: 2488
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] v1.2 Preview

30 Sep 2014, 19:00

After attaching unity vs and debugging this is where the issue is. http://gyazo.com/d6852b027c55857d7b28912f234a9c33 System.InvalidOperationException: Native type is not registered. Hopefully you guys can help me out with this.
We fixed both issues. We are going to release a new beta in the next 24h.

Thanks for reporting!

Who is online

Users browsing this forum: No registered users and 1 guest