UI Builder is laggy. 500ms delay on any change, is it normal?


Panel.Update.Builder is taking 402.42 ms, this was just resizing a VisualElement and it was doing it on any frame.

This occurs during ANY change. Creating a selector, changing a color, changing the width.

Unity Version 2022.1.11f1

My CPU is an AMD Ryzen 9 3900X 12-Core Processor 3.79 GHz, Windows 11.

EDIT: It is faster when I remove the uss stylesheet, but that’s not really a solution.

I’m not sure this is related, but I noticed my game hitches in the editor every couple of seconds as well and I found this:

Found a bit more, this is for the game. Every few seconds. Seems to only happen on 2022.2+