Just got a similar issue, and I have the impression, it doesn’t come from the tick rate, it comes from the 2 last lines of the snippet you share
Canvas.RemoveWidget(ColorBlock)
Canvas.AddWidget(NewSlot)
Since the new update it’s impossible to remove and add the same widget during the same tick. We need to wait a tick minimum to do it.
I have the same issue on some other ui/verse animation/update of ui in my project because of that.
In my project, I had a code like that
mPlayerUI.RemoveWidget(RootCanvas)
mPlayerUI.AddWidget(RootCanvas, player_ui_slot{InputMode := CurrentInputMode })
Now, I have to change in something like that, or it doesn’t work
mPlayerUI.RemoveWidget(RootCanvas)
Sleep(0.1)
mPlayerUI.AddWidget(RootCanvas, player_ui_slot{InputMode := CurrentInputMode })
But the problem, the ui blinks