Ok, so I grabbed B4 to see if the UI from 5.1->5.2 now works, and while the disable objects + raycast/etc issue seems to be resolved I’ve hit another nasty one.
I’m using Image with 360 radial fills as progress bars with a custom script. However, with 5.2b4 360 fills are very very broken now. When set to zero fill and having been disabled/enabled, they draw random corrupted polygons all over the area. Sometimes the full image is draw but at an incorrect scale but you can see in inspector “fill amount” is clearly at zero.
Easy way to reproduce without script. Add image, set to 360 radial fill, top, non-clockwise. Hit play, disable image GameObject via inspector. Drag fill amount from zero to 1 few times. Enable game object and drag fill amount to zero. Note that with each drag to zero, the fill amount randomly changes and is never zero as set via inspector. Seems some internal state is corrupted when disabled and fill amount is set… but just a guess on my part.
And of course, posted bug 714926.
Edit: I noticed this even happens outside of play mode, just quickly drag fill amount and it produces random fill values.
Another note, Editor spams errors with new runtime animation controllers. #714921