LateUpdate and Calls UI Unity 5.1.2F

I been working hard lately on my RPG UI system performance optimizing. I been trying to figure out what was causing some extra calls.

I figured out that using LateUpdate will generate more calls than Update method. Now my total calls are around 8 (minus canvas UpdateRender)

Heads up guys…

What do you mean by extra calls?

LateUpdate generates more draw calls than when just using Update with UI.

I thought there was just something in the code it self that made the draw/SetPass calls, but moving things to Update instead removed issue with more draw calls. in my case this where just booleans/int

hmm so in that case that doesnt make any sense… The calls aren’t calculated until right before drawing which would be after both Update and Late update. Any chance you gave provide a repo project as this sounds very wrong.

well try it out, the profiler confirms this. Putting codes (any) in LateUpdate do produce more SetPass calls.

I haven’t tried without a canvas, i am not sure this is UI related or not.