I ran into an odd issue which I couldn't really figure out so far. Maybe somebody can offer some insight.
I have a screen with some buttons and a scrollview containing a grid. Works all nicely until I start putting a modal window on top of everything during runtime. The new window kind of fills most of the screen, has a collider and works fine except that all elements of the grid from the screen below it are rendered on top of it. Everything else looks fine, it is just the items in the UIGrid which are added in at runtime are rendered on top of everything.
This shouldn't happen since all the depth values are set up correctly. I suspect it having to do somehing with the Panel/Scrollview containing the UIGrid but I am not sure how to fix it.
The setup is relatively simple and looks like this:
UIRoot
=>UIWidget
==>UISprite
===>UIPanel(with UIScrollView)
====>UIGrid
=====>UISprite (this is what is visible on top of everything)
I am on 3.6.2.
Any ideas are welcome
