Author Topic: Collider depth different between Web Player and Editor  (Read 2093 times)

paw9000

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 5
    • View Profile
    • Precocial Software LLC
Collider depth different between Web Player and Editor
« on: July 24, 2014, 02:36:16 PM »
I have a scroll view (clipping enabled) with a grid of UITexture's and drag/drop support that works great in the editor, but when I compile it for the web player, I can't click on any of the items in my grid.

I've enabled the Debug flag for the UICamera, in the Editor when I mouse over one of the UITexture's I see the name of the texture, but in the web player I just get the container for the scroll view.  Seems like the position of my colliders must be different between the two platforms.

Things I've checked so far:
-The UIPanel depth of my scroll view is one greater then that of the containing UI
-I checked that the Widget depth of my UITextures is greater then that of the container for the scroll view. (Not that it should mater since the UIPanel should be on top)

Any ideas?  Advice for things I should check?

Thanks in advance!
Download my free 3d Unit Origami modeling app made with NGUI at http://www.precocialsoftware.com

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Collider depth different between Web Player and Editor
« Reply #1 on: July 25, 2014, 02:20:01 AM »
"in the web player I just get the container for the scroll view" -- what does this game object have, exactly? Colliders placed on objects without a widget on them end up using the highest child's depth instead.