Search Issue Tracker

By Design

Votes

0

Found in

5.4.0f3

Issue ID

822752

Regression

No

"GC Alloc" in "ColorTween.TweenValue" on button press

uGUI

-

Reproduction steps:
1. Open the attached project.
2. Open the "Main" scene.
3. Make sure that game view windows is big enough to see the button.
4. Open "Window > Profiler".
5. Enable "Deep profile".
6. Click the button mentioned in step 3 a several times.
7. Pause the scene.
8. Scroll through the profiler until you find "SetupCoroutine.InvokeMoveNext() > <Start>c_Iterator0.MoveNext() > ColorTween.TweenValue()"
9. Allocation varies between 30 and 1100 bytes on every button press(image1.png).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.