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

    Jan 10, 2016 15:37

    in 5.3.1f1 the same

  2. bedorlan

    Jan 09, 2016 14:35

    +1

  3. iamarugin

    Jan 09, 2016 12:12

    Reproduced. Please, stop release showstoppers. And try to use Unity to making games.

  4. PhilBoo

    Jan 09, 2016 12:10

    And what Vapid Linus said. This bug still exists and is not a duplicate.

  5. PhilBoo

    Jan 09, 2016 12:08

    Still there and terrible annoying. Please fix!

  6. Vapid-Linus

    Jan 08, 2016 22:11

    This is not a duplicate and is still happening in 5.3.1f1

  7. Vapid-Linus

    Jan 08, 2016 22:07

    Still happening in 5.3.1f1

  8. Beloudest

    Jan 07, 2016 18:37

    5.3 sucks, getting this too plus another 600 red errors. Ready to kill myself.

  9. DeeCeptor

    Jan 07, 2016 18:33

    Still not fixed as of Jan 7th, 2016. Would be wonderful if it were fixed.

  10. _methotec_

    Jan 06, 2016 07:53

    We have the same issue - worked fine in 5.2.x stopped working in 5.3.0, not fixed in 5.3.1
    And as mmoczkowski wrote -
    "... this is not a duplicate ..."
    This happens always if you resize an ui element by code with some layout controls in the child hierarchy. 100% reproducible

Add comment

Log in to post comment