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. TimGS

    Jan 01, 2016 21:53

    2 MMOCZKOWSKIDEC 29, 2015 15:51

    Karl said in forum that he put backport request for this. So it's probably going to be fixed in 5.3.1p2 or p3

  2. callen

    Dec 30, 2015 17:47

    Not fixed, terribly annoying, and the worst part is Unity tells you to do it in their videos: https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/creating-scroll-lists-at-run-time

    Just more proof that unity needs to spend more time actually using their tool, to actually make games, like almost every other engine developer

  3. mmoczkowski

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

  4. tosiabunio

    Dec 29, 2015 14:16

    Still exists in 5.3.1p1: http://prntscr.com/9jv1iy

  5. Silly_Rollo

    Dec 25, 2015 02:35

    Also getting this.

  6. Orion_78

    Dec 21, 2015 15:38

    same problem here

  7. TimGS

    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.

  8. Inboxninja

    Dec 19, 2015 08:01

    still happening in 5.3.1f1

  9. Marble

    Dec 18, 2015 22:43

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

  10. info_elab

    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.

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.