Author Topic: UIPanel Soft Clipping - Issue on movement (bug?)  (Read 3006 times)

teezy

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 5
    • View Profile
UIPanel Soft Clipping - Issue on movement (bug?)
« on: August 21, 2014, 04:53:41 AM »
Hi,
I recently had a problem with "off-screen" elements on soft-clipped UIPanels (http://www.tasharen.com/forum/index.php?topic=10778.msg50703).
Now I've got another problem of the same topic...

My setup (see attached images):
- NGUI 3.6.9 and Unity 4.5.2.
- a GameObject that can be moved horizontally off screen (with a UISprite-GameObject as Background)
- a clipped UIPanel containing a draggable list, added to the movable GameObject.
- list elements consist of a background GO and a label GO
- the UIPanel has to be clipped to mask longer lists.

The problem:
As soon as the list/UIPanel partially moves off screen, the list elements start to disappear randomly.
Some dissapear completely, some only loose their background-sprite or the label (see 3rd image).

When i set the UIPanel Clipping to "none", everything is fine. However I need clipping to mask the list...
Can anyone help?




ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIPanel Soft Clipping - Issue on movement (bug?)
« Reply #1 on: August 22, 2014, 03:26:15 AM »
Hmm, this shouldn't happen. Can you provide me with a repro case so I can have a look at what's happening? You can PM me the dropbox download link or email to to support at tasharen.com.

teezy

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 5
    • View Profile
Re: UIPanel Soft Clipping - Issue on movement (bug?)
« Reply #2 on: August 22, 2014, 05:58:55 AM »
Thanks for your answer. It's a rather complex project. I try to build a small scene.

Meanwhile another fact: when I mark the panel as "static" the problem doesn't appear.
So maybe I could mark the panel as static while dragging as workaround.