Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

[5.2] Massive GC alloc when using Text with Shadow and Outline

$
0
0
We're seeing a massive drop in performance and huge GC allocs when rendering text with shadow and outline on a world space canvas. The profiler shows the issue under Canvas.SendWillRenderCanvases. Here are the numbers:

Test | GC Alloc | Time ms
------------------------|----------|---------
Plain Text | 2.6 KB | 0.36
Text + Shadow | 68.6 KB | 1.82
Text + Outline | 289.8 KB |...


[5.2] Massive GC alloc when using Text with Shadow and Outline

Viewing all articles
Browse latest Browse all 23263

Trending Articles