Any side effects to Slate.EnableLayoutCaching?

I’ve been digging around trying to improve our Slate performance and found this apparently undocumented flag - Slate.EnableLayoutCaching, which is off by default. When I turn it on, it completely eliminates the Slate prepass, saving our Xbox build a full 1-2 milliseconds every frame, with (at first glance, at least) no apparent side effects.

Which leads me to wonder why it’s not just on by default. Are there any pitfalls I should be aware of by enabling this flag?

Thanks,

1 Like