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)
-
lucky3d1
Dec 16, 2015 21:44
Confirmed here too. Hope this will be fixed soon, makes the game menu unusable :-/
-
mtartist
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?
-
BrienKing
Dec 12, 2015 00:34
Add me to the list getting this error with 5.3
-
michael_byrd_pro
Dec 10, 2015 19:48
I was also having this issue with a Scroll Rect + Grid Layout Group and dynamically adding buttons. I was able to do a small workout for the time being by adding a Content Size Fitter and setting both to Preferred Size. Not sure how it will work with multiple buttons though.
-
dkmadboe
Dec 10, 2015 08:18
I can confirm that since updating from 5.2 to 5.3 I am getting the same error: 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() -
levykin
Dec 10, 2015 07:11
Reproduced in 5.3.0f4
-
ubermacro
Dec 09, 2015 22:03
I am also getting this error since updating to 5.3.
-
Mahdi-Jeddi
Dec 09, 2015 11:00
It's not just ScrollViews, It happens when you have a ContentFitter inside of a VerticalGroup/HorizontalGroup.
-
nonlin
Dec 09, 2015 08:27
Really annoying. I had to make some tweaks with my Game Objects since upgrading and I'm not sure if it was cause of this error or not. I'm hoping that that was the most damage this error causes or that it gets solved before my deadline.
-
nxtboyIII
Dec 09, 2015 05:36
Getting this error now.
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