Search Unity

GUI Repaint GC Allocations

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by catfink, Sep 12, 2019.

  1. catfink


    May 23, 2015
    In all the tutorials I've looked at on the Unity pages not one appears to discuss the issue of GC allocations and how you go about reducing these. Right now the total GC allocations per frame for my UI is 1.1kb. I would like this to be far less but I can't find any guidance on what causes an allocation in the GUI Repaint or how I would go about reducing this GC overhead.

    Anyone got any clues as to what in a GUI layout causes GC allocations per frame?