Author Topic: Updating depth of UIPanel cannot trigger rebuilding of geometry  (Read 5804 times)

chikinov

  • Guest
Updating depth of UIPanel cannot trigger rebuilding of geometry
« on: November 28, 2013, 05:53:24 AM »
I have a script to swap two UIPanel by changing the depth. Even I called Refresh() or Fill(), I couldn't get the ordering right at runtime. But if I manually disabled the UIPanel game object and re-enabled it using the inspector, it worked magically. Can anyone help me to get it work at runtime? Thanks very much.

Needle

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: Updating depth of UIPanel cannot trigger rebuilding of geometry
« Reply #1 on: November 28, 2013, 06:27:32 AM »
Same issue since 3.0.6 rc1
In 3.0.5 everything worked well...

Erhune

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 13
    • View Profile
Re: Updating depth of UIPanel cannot trigger rebuilding of geometry
« Reply #2 on: November 28, 2013, 08:08:48 AM »
I also have weird panel issues since upgrading from 3.0.5 to 3.0.6f5. All my panels have different depths, but some of them are not displayed sometimes. When I disable and re-enable their GameObject or just the UIPanel script from the inspector, they reappear, but they sometime make another one disappear. Refresh-ing them does not do anything.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Updating depth of UIPanel cannot trigger rebuilding of geometry
« Reply #3 on: November 28, 2013, 02:47:44 PM »
I found the issue for this and will upload f6 shortly that resolves it.

chikinov

  • Guest
Re: Updating depth of UIPanel cannot trigger rebuilding of geometry
« Reply #4 on: November 28, 2013, 08:08:35 PM »
Thanks, Michael.

chikinov

  • Guest
Re: Updating depth of UIPanel cannot trigger rebuilding of geometry
« Reply #5 on: November 28, 2013, 08:37:44 PM »
Tested with 3.0.6 f6 but seems it is still not fixed.

Erhune

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 13
    • View Profile
Re: Updating depth of UIPanel cannot trigger rebuilding of geometry
« Reply #6 on: November 29, 2013, 02:15:45 AM »
3.0.6f6 has fixed it for me. Thanks!