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
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
Comments (63)
-
poliman
Jan 10, 2016 15:37
in 5.3.1f1 the same
-
bedorlan
Jan 09, 2016 14:35
+1
-
iamarugin
Jan 09, 2016 12:12
Reproduced. Please, stop release showstoppers. And try to use Unity to making games.
-
PhilBoo
Jan 09, 2016 12:10
And what Vapid Linus said. This bug still exists and is not a duplicate.
-
PhilBoo
Jan 09, 2016 12:08
Still there and terrible annoying. Please fix!
-
Vapid-Linus
Jan 08, 2016 22:11
This is not a duplicate and is still happening in 5.3.1f1
-
Vapid-Linus
Jan 08, 2016 22:07
Still happening in 5.3.1f1
-
Beloudest
Jan 07, 2016 18:37
5.3 sucks, getting this too plus another 600 red errors. Ready to kill myself.
-
DeeCeptor
Jan 07, 2016 18:33
Still not fixed as of Jan 7th, 2016. Would be wonderful if it were fixed.
-
_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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Test Runner’s vertical scrollbar overlaps with the up and down arrows and upper toolbar tabs when the window is minimized
- The Input Field view is not updated when deleting lines of text
- The scrollbar does not respect empty lines in the Input Field
- “Texture Atlas Viewer“ button text overlaps another button when the UI Toolkit Debugger is narrowed
- Thresholds are no longer automatically calculated after deleting Motion fields in Blendtrees
This is a duplicate of issue #739376