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
-
TimGS
Jan 01, 2016 21:53
2 MMOCZKOWSKIDEC 29, 2015 15:51
Karl said in forum that he put backport request for this. So it's probably going to be fixed in 5.3.1p2 or p3
-
callen
Dec 30, 2015 17:47
Not fixed, terribly annoying, and the worst part is Unity tells you to do it in their videos: https://unity3d.com/learn/tutorials/modules/beginner/live-training-archive/creating-scroll-lists-at-run-time
Just more proof that unity needs to spend more time actually using their tool, to actually make games, like almost every other engine developer
-
mmoczkowski
Dec 29, 2015 15:51
This is ridiculous. Firstly, it's not a duplicate of #739376. Secondly it's not fixed. Unity's QA in it's full glory...
-
tosiabunio
Dec 29, 2015 14:16
Still exists in 5.3.1p1: http://prntscr.com/9jv1iy
-
Silly_Rollo
Dec 25, 2015 02:35
Also getting this.
-
Orion_78
Dec 21, 2015 15:38
same problem here
-
TimGS
Dec 19, 2015 15:28
I would like to add all my votes to this one.
It totally breaks my UI and I can't find a workaround. -
Inboxninja
Dec 19, 2015 08:01
still happening in 5.3.1f1
-
Marble
Dec 18, 2015 22:43
Also having this problem, and for the same reasons, in 5.3. It worked okay in 5.2.x.
-
info_elab
Dec 16, 2015 23:19
This has started occurring in one of our layouts as of 5.3 and I've not yet found a workaround.
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