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)
-
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.
-
Jim Groth
Dec 09, 2015 02:46
Getting this every time I save since upgrading to 5.3.0f4
-
CodinRonin
Dec 08, 2015 17:49
Same here. This error is appearing a lot since upgrading to 5.3
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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
This is a duplicate of issue #739376