UIWidgets
UIWidgets copied to clipboard
Huge GC allocations
Getting large amounts of GC calls and framerate goes down to 14fps when clicking the hamburger button for the sidebar or the button in the top-right of the App Bar

Unity Version: 2018.3.2f1 Device: Nexus 5 Project: MaterialSample
Thanks for reporting this. We will take a serious look into that.
I should mention that this happens in Development builds with UIWidgets_DEBUG. In Release builds it drops FPS for the first tap on both the buttons but doesn't drop FPS for any taps after that.
[Unity 2019.1.7f1 + UIWidget 1.0.6]
Yep, There're just too many GC allocations scattering all over the place.
In the Counter example, even if we just sit idle, it would generate 300B GC every frame, In the Gallery example color section, when the animation is active it could easily takes 200~800KB GC every frame,
This libary is VERY promising, but it's currently more fit for editor script than game runtime.
We have just released a bunch of optimization early this month on GC allocation and rendering. Please try the latest UIWidgets and let us know how you feel. Cheers !