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 (63)

  1. 36c65e3934745df83910152c6a077e4a?d=mm


    Aug 19, 2020 05:39

    good one <a href="">lyricsauto</a>

  2. D40ed9727d7be0dbf1b368d8092082a3?d=mm


    Jul 17, 2020 13:53

    kedi maması köpek maması

  3. 1fdb20ecf2bbeb59cd5824816b910ca9?d=mm


    Apr 08, 2016 05:59

    sorry,i replace the lib by rebuild from ugui source code 5.3.2f1,seems like sometimes it occurs,and i use the original 5.3.4p1, not happened then

  4. 1fdb20ecf2bbeb59cd5824816b910ca9?d=mm


    Apr 08, 2016 05:47

    i still got this err in 5.3.4p1

  5. Cc66e47862a6d761dae419c61e52b9b8?d=mm


    Mar 19, 2016 14:06

    I'm getting this too, it's not duplicated.

  6. 7e82b490cab62182c5c09629299a2f91?d=mm


    Mar 17, 2016 19:37

    Fixed for me 5.3.4. It's nice to see a clear console! Thanks Unity.

  7. 1b3e88d9f94a9708c628494773003ac3?d=mm


    Mar 15, 2016 22:41

    I don't get this in 5.3.4 anymore

  8. D46de58f637bd6018bd3c7f845a04088?d=mm


    Feb 15, 2016 13:22

    It seems a fix for this issue is in the most recently patch release:

    That means it should be in 5.3.3 as an official release

  9. 23043843bebbefbea6e7635254330ad2?d=mm


    Feb 10, 2016 08:37

    I'm still getting this on 5.3.2. Haven't tried any of the patches though.

    Is there a fix/workaround?

  10. 0d295569fbb2e2c99bb504f5db8e6e09?d=mm


    Feb 08, 2016 21:36

    This issue is NOT a duplicate. Please see repro steps.

    I was able to work around this by setting the scrollbar's Visibility to "Permanent" rather than having it appear only when content overflows. Not great.

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.