Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Enabling UI elements = Performance spike?

$
0
0
Hi,

I've got a little UI test scene - a little performance test with 64 items in a ScrollRect, each item is an instance of a prefab, containing two UI.Image sprites (one regular, one sliced) and a very simple script to rotate one of these sprites.

When rendering and scrolling normally, the profiler is looking good (~1ms CPU in the editor)

But if I disable and then re-enable the contents of the scrollrect (just by enabling/disabling the parent node manually in the editor, for now), I'm seeing...

Enabling UI elements = Performance spike?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>