UI Order messing up with animation

Hi,
Didn’t encounter this issue before but here it is, though in my hierarchy I never change order between 2 UI elements (but I activate/desactivate some others by animation) I have some UI elements that overlaps some others that are higher in Hierarchy, see my attached file that illustrates this very simply. The most annoying thing is that it is a semi-random behaviour, it always happens in the same order in my scene but not every elements behave this way… and if I uncheck/check them in my scene I have the normal behaviour back. Has anyone ever face this?

Hi,

What version of Unity are you using?
Are you using the Legacy animation system?

Hello,
I am using the last version of Unity o far, 5.1.1f1.
For the animation I created it under Unity with the animation tab. (using the create button).
Hope it answers correctly your questions.
Cheers.

Hmm hard to say without seeing the project.
Can you submit a bug report with an example project?