User avatar
Erio
Topic Author
Posts: 81
Joined: 06 Feb 2013, 17:30
Location: Orléans/France

[Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 04:02

Hey guys,

I just found something "interesting", if you have any idea as of how to fix it, please let me know.

Now, the problem:

http://puu.sh/nKxIg/b04919454b.jpg

http://puu.sh/nKxW7/2bd9ffa8fe.jpg

The control should be centered but it's being put a bit down. the amount change with the window size.

Regarding the clicks however, they still are positionned correctly, so it's correctly hitting the buttons for the hover events etc etc but it's doing this weird visual thing.

It works well in the editor and I'm using 1.2.5f10 of NoesisGUI.

Hope you can help/this helps. :)
 
User avatar
sfernandez
Site Admin
Posts: 1912
Joined: 22 Dec 2011, 19:20

Re: [Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 12:20

Hi Erio,

Is this issue happening with previous versions of Unity?
Which rendering path are you using?
If you move the window around the desktop, does it change the position where NoesisGUI is rendered?

The effect is very weird :shock:
 
User avatar
Erio
Topic Author
Posts: 81
Joined: 06 Feb 2013, 17:30
Location: Orléans/France

Re: [Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 16:15

Hi sfernandez,

No, it was not happening with Unity 5.3.

I am using the default so it's in the User Player Settings. so, it's the Forward Rendering Path.

If I do move the window around my screens the placement doesn't change. But if I do resize it, it does xD

The effect is indeed extremely weird.

THE WORSE being that it works perfectly in the editor "play"... xD

EDIT: It also works well when using the uGUI method you described in another thread. But then we lose the flexibility of the XAML to me. :)
 
User avatar
Erio
Topic Author
Posts: 81
Joined: 06 Feb 2013, 17:30
Location: Orléans/France

Re: [Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 21:53

I made a simple scene and exported just the scene with the XAML I used.

It works as well on a new project by just adding a new NoesisGUIPanel and attaching it any XAML (I tried with the Style example as well).

It requires to first import NoesisGUI of course. :)
Attachments
NoesisGUIUnity5.4.0b10.unitypackage
(19.39 KiB) Downloaded 120 times
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 22:30

Thanks! Do you mind reporting this in the tracker?

We didn't test Unity 5.4 yet. This must be something they changed.
 
User avatar
Erio
Topic Author
Posts: 81
Joined: 06 Feb 2013, 17:30
Location: Orléans/France

Re: [Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 23:06

I have to find the tracker to fill it with the infos but sure, I don't mind :)

I am guessing that this comes from Unity as yes, 5.4.0 brings quite a lot of changes it seems.

I had to modify the plugin I use to have multiple build configurations so that it would compile and properly build the stuffs again.. xD (removed Blackberry support and changed WebWindows and WebiOS to WebGL for example and some functions are forbidden to be called from constructors as of 5.4.0 it seems)

I am guess that this comes from a change on their end as well. But what exactly would probably require to look at the full changelog.

EDIT: found it. :)
 
User avatar
Erio
Topic Author
Posts: 81
Joined: 06 Feb 2013, 17:30
Location: Orléans/France

Re: [Unity] - 5.4.0 - Vertical visual displacement

18 Mar 2016, 23:31

Reported as issue #850.
 
User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: [Unity] - 5.4.0 - Vertical visual displacement

22 Mar 2016, 02:47

Yes, thanks!
 
User avatar
Erio
Topic Author
Posts: 81
Joined: 06 Feb 2013, 17:30
Location: Orléans/France

Re: [Unity] - 5.4.0 - Vertical visual displacement

22 Mar 2016, 04:25

You're welcome!

It's nice to be able to help somehow to make it "better" :)
If you do need anything, do not hesitate to ask!

Who is online

Users browsing this forum: No registered users and 1 guest