Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sourcerer

Pages: [1]
1
I've been Tracking down a strange input bug

I have two UICameras (main and overlay)

when dynamically adding a prefab (which contains a UIPanel and other fixins) to the one of the cameras (main in my test case) all layers beneath the the UIRoot get updated to whatever layer that new prefab has.

After looking through the code I found that in UIPanel::UpdateLayers() there is an IF statement that my overlay objects are falling into which does not seem correct according to my understanding of how things should be working. It appears the overlay objects with mask "overlay" are getting compared against mask "Default", the code then updates that object to the comparing layer, in other words it sets the thing that was on layer "overlay" to layer "Default". This ultimately creates an input issue because now everything that was in the "overlay" layer stops receiving those events.

This seems odd? Am I missing something here?

Thanks!

PS I have GIT access, I updated to commit 64159ca (Feb 23, 2014 3:25PM) after I hit this issue but its still occuring

Pages: [1]