Search Issue Tracker

Duplicate

Votes

107

Found in

5.3.0b4

Issue ID

740617

Regression

Yes

Using Content Size Fitter or Vertical Layout Group causes error

UI

-

When using the Content Size Fitter OR the Vertical Layout Group components on the Content of a Scroll View, and playing the scene an error pops up:

Trying to add (Layout Rebuilder for) Content (UnityEngine.RectTransform) for layout rebuild while we are already inside a layout rebuild loop. This is not supported.
UnityEngine.Canvas:SendWillRenderCanvases()

2. How we can reproduce it using the example you attached:
See the attached video.

1. Create a Scroll View add Text GO to its Content
2. Add the Content Size Fitter component on the Content
3. Press play
4. Notice the error. Exit play mode
5. change the attributes of the content fitter: Fit - minimum size
6. play again
7. Notice the content size is now fixed
8. set the attributes of the content fitter: Fit - Unconstrained
9. play again,
10. the content size is still fixed

regression from 5.2.1f1

  1. This is a duplicate of issue #739376

    Error while resizing console window

Comments (63)

  1. TheFuntastic

    Feb 04, 2016 09:34

    Error still present after upgrading to 5.3.2

  2. okkal11

    Feb 03, 2016 17:58

    Turning off 'Pixel perfect' on canvas SOLVED the issue for MY project- far from optimal solution tho!

  3. okkal11

    Feb 03, 2016 17:35

    This is not a duplicate - So can you please tell us if this will be fixed.. stuck on a project till resolved!

  4. Nakor

    Feb 02, 2016 17:48

    Issue is definitely not resolved.

  5. TimGS

    Jan 28, 2016 17:46

    It's finally fixed in 5.3.2p1

  6. SINgoon

    Jan 28, 2016 14:33

    still same error in 5.3.2f1

  7. nefelia

    Jan 25, 2016 20:41

    still happening in 5.3.1f1

  8. Gaios

    Jan 20, 2016 17:07

    Adding another +1 since this is a critical/blocking issue for us as well.

  9. Inboxninja

    Jan 18, 2016 04:22

    this is *not* a duplicate of issue #739376 - someple pelase reinstate the bug. still happening as at 5.3.1p3

  10. GordonM

    Jan 16, 2016 01:22

    Yup. Same error.

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.