Canvas.ForceUpdateCanvases throws ArgumentOutOfRangeException Unity 5.2.2f1

I’ve noticed that Canvas.ForceUpdateCanvases has started to throw the ArgumentOutOfRangeException after updating to Unity 5.2.2f1. Typically receiving this exception means that an array index is out of range.

Normally, this would be easy to track down, but when I followed the Stack Trace it seems to be an error down in the Unity engine somewhere. Also, worth noting is that Canvas.ForceUpdateCanvases is called in one of my LateUpdate methods. Not sure if Unity has changed things that would cause that error.

Here’s the print out:

Bump