Search Issue Tracker

Won't Fix

Votes

1

Found in

5.6.2p2

Issue ID

927827

Regression

No

CanvasRenderer.OnTransformChanged is called when canvas has a parent and one of camera position or rotation variable is not int

uGUI

-

Reproduction steps:
1. Open project attached (CanvasReproUnity2.zip)
2. Make sure that one of camera position or rotation variable is not an integer.
3. Open Profiler.
4. Press play.

Expected result: Only needed function will be called.
Actual result: CanvasRenderer.OnTransformChanged (22 calls) and other functions are called multiple times.

Reproduced on: 5.5.0b3, 5.5.4p1, 5.6.0f3, 5.6.2p2.
Works fine on: 5.4.5p3, 5.5.0b2, 2017.1.0f3, 2017.2.0b2.
Regression introduced in 5.5.0b3.

Comments (1)

  1. F74a5d0646a3fe1aebde2c436e7a3c9c?d=mm

    TheJimz

    Nov 17, 2017 01:03

    This really should have more votes, cause of slowdown many people don't realize is even occurring.

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.