Welcome,
Guest
. Please
login
or
register
.
May 01, 2026, 12:38:11 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Anchor Bug.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Anchor Bug. (Read 6057 times)
sagolboss
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Anchor Bug.
«
on:
October 07, 2015, 06:00:09 AM »
Hi there.
I setted widget anchor type to unified.
Then transform position changed.
x=0, y=0, z=0 -> Set Anchors Unified -> x=-1, y=1, z=0 -> Set Anchors none -> Set Anchors Unified -> x=-2, y=2, z=0
I uploaded this situation.
https://www.youtube.com/watch?v=qRSDu448rVo&feature=youtu.be
Please fix this bug.
I tested Unity 4.6.3f1, Unity 5.2.1f1, NGUI 3.9.4.
«
Last Edit: October 07, 2015, 07:25:46 AM by sagolboss
»
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Anchor Bug.
«
Reply #1 on:
October 07, 2015, 08:28:21 PM »
I am not able to reproduce it, so I am guessing it's something specific to your project, likely due to your game window not having dimensions dividable by two.
Logged
sagolboss
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: Anchor Bug.
«
Reply #2 on:
October 07, 2015, 09:09:27 PM »
Thank you for your relply.
I tested game window size 609x343.
I attached my test scene file.
(UITest.scene file for Unity 4.6, UITest_5.scene file for Unity 5.2)
It doesn't happen this problem in my window size having dimensions dividable by two.
Do I have to my window size dimensions having dividable by two?
I am able to mistake by this problem.
I suggest to log warning in window size haven't dimensions dividable by two.
Or I want to fix this problem.
«
Last Edit: October 07, 2015, 09:15:54 PM by sagolboss
»
Logged
sagolboss
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 3
Re: Anchor Bug.
«
Reply #3 on:
October 09, 2015, 06:17:26 AM »
I tested again.
This bug happen when anchor target is UIPanel and not having dimensions dividable by two.
It doesn't happen anchor target is UIWidget and not having dimensions dividable by two.
Please fix this bug.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Anchor Bug.
«
Reply #4 on:
October 10, 2015, 11:39:38 PM »
In a real world scenario you won't encounter a device's screen size where its width or height is not dividable by two, so this seems like a very minor issue.
Logged
YuliyF
Newbie
Thank You
-Given: 7
-Receive: 1
Posts: 11
Re: Anchor Bug.
«
Reply #5 on:
October 18, 2015, 11:26:32 AM »
wht?? If I set anchor: x=-1, y=1, z=0 - will crash? .. gm, It's bad, vary bad
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Anchor Bug.
«
Reply #6 on:
October 18, 2015, 06:51:04 PM »
Anchors with Z? Are you talking about the old legacy anchor script that was deprecated ages ago and has a warning message on it when you add it in inspector?
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Anchor Bug.