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
-
shubhamswaraj2021
Aug 19, 2020 05:39
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
-
cozyurt_unity
Jul 17, 2020 13:53
kedi maması köpek maması www.patilimama.com
-
lwangwangl
Apr 08, 2016 05:59
sorry,i replace the lib by rebuild from ugui source code 5.3.2f1,seems like sometimes it occurs,and i use the original 5.3.4p1, not happened then
-
lwangwangl
Apr 08, 2016 05:47
i still got this err in 5.3.4p1
-
joaobsneto
Mar 19, 2016 14:06
I'm getting this too, it's not duplicated.
-
Beloudest
Mar 17, 2016 19:37
Fixed for me 5.3.4. It's nice to see a clear console! Thanks Unity.
-
stanchion0
Mar 15, 2016 22:41
I don't get this in 5.3.4 anymore
-
TheFuntastic
Feb 15, 2016 13:22
It seems a fix for this issue is in the most recently patch release: https://unity3d.com/unity/qa/patch-releases/5.3.2p1
That means it should be in 5.3.3 as an official release
-
psykojello2
Feb 10, 2016 08:37
I'm still getting this on 5.3.2. Haven't tried any of the patches though.
Is there a fix/workaround?
-
karljollycompany
Feb 08, 2016 21:36
This issue is NOT a duplicate. Please see repro steps.
I was able to work around this by setting the scrollbar's Visibility to "Permanent" rather than having it appear only when content overflows. Not great.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #739376