Search Issue Tracker




Found in


Issue ID




Using Content Size Fitter or Vertical Layout Group causes error



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.

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. Response avatar

    This is a duplicate of issue #739376

    Error while resizing console window

Comments (61)

  1. 8a70804e6f717737b4b911fd772d1e93?d=mm


    Dec 29, 2015 15:51

    This is ridiculous. Firstly, it's not a duplicate of #739376. Secondly it's not fixed. Unity's QA in it's full glory...

  2. 5b0b9f77380ff95371c8fd4e4d374f7b?d=mm


    Dec 29, 2015 14:16

    Still exists in 5.3.1p1:

  3. B553be7485496ce2b14e0d35c40e0310?d=mm


    Dec 25, 2015 02:35

    Also getting this.

  4. A11e151daf43721ab04db81ed12288a9?d=mm


    Dec 21, 2015 15:38

    same problem here

  5. 2e9620ca820c6afce61dac5715355672?d=mm


    Dec 19, 2015 15:28

    I would like to add all my votes to this one.
    It totally breaks my UI and I can't find a workaround.

  6. 5bb847a3478809203abcbd37ebb658b6?d=mm


    Dec 19, 2015 08:01

    still happening in 5.3.1f1

  7. 55060ed03323edacef4c2659e7ecc364?d=mm


    Dec 18, 2015 22:43

    Also having this problem, and for the same reasons, in 5.3. It worked okay in 5.2.x.

  8. 0b50b585a1fc689e6afcd4d46314b33a?d=mm


    Dec 16, 2015 23:19

    This has started occurring in one of our layouts as of 5.3 and I've not yet found a workaround.

  9. 5aff122c9ed1a6a99b30080a4c6fdf3c?d=mm


    Dec 16, 2015 21:44

    Confirmed here too. Hope this will be fixed soon, makes the game menu unusable :-/

  10. Aff3b2e409ffdfdcea35ee73d7e8ec8a?d=mm


    Dec 14, 2015 17:07

    I'm pretty much getting spammed with this error. Would the error have an adverse effect on the functionality, or is it just an annoyance?

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.