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)
-
Squidcor
Dec 08, 2015 11:08
Getting a lot of these errors since adopting 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
- Depth of Field doesn't apply correctly to Canvas UI when it is set to World Space Render Mode
- Crash on GetElementMapKey when "None" is assigned to a field with binding path "m_GameObject"
- Stereoscopic skybox renders as monoscopic when using Multi-pass render mode in XR plugin while using URP
- Parameterized Tests with ValueSource fail when supplied parameter is an System.Object
- Error Message "Broken text PPtr in file" is not informative enough to locate the problematic asset
This is a duplicate of issue #739376