I've been working all day on an interface with a pane that share two atlas, this is because I want to load an specific atlas in one moment, but I also want to use some images that are already in another atlas. Everything went OK at work, the panel worked perfectly sharing atlases, but when I tried to continue my work at home, the panel started to paint things in different order. The atlas that was already loaded is the one who has the fonts, and it has to be painted in the front of the other, that has the background. So, I assume that UIPanel makes one drawcall with all the widgets of one atlas, and then do the other drawcall for the other atlas.. at work I didn't realize of this because it just work OK, but at home, y can't see any text because the panel paints first the fonts (with the first atlas), and then the background (with the other atlas).
Is there any way to invert this? or I should avoid this kind of things?
Thanks!