UCanvasPanel::AddChildToCanvas is very slow ?

I couldn’t solve this properly so i used the following workaround:

  • creating a UCanvasPanel* in the game instance and populating it at start with many (200) widgets
  • adding the GI’s panel to my main widget
  • only managing the visibility (collapsed/visible) of the widgets in real time

The drawback is that i have to work with a fixed (and huge) amount of widgets.

But other than that it works very well and remains perfectly responsive.

Cedric