I attempted to follow this blog to create a scrollable list: Creating Dynamic Scrollable Lists with New Unity Canvas UI - folio3
…except instead of their class “Animal”, I created my own class that only had a couple of string members. I’m not interested/worried about adding images at this point. (So there also isn’t an image in my prefab. It’s only text objects.)
The one problem I ran into was that when I added “Content Size Fitter” to the 2nd panel object, and set “Vertical Fit” to “Preferred Size”, there is an error message that “Parent has type of layout group component. A child of a layout group should not have a Content Size Fitter component, since it should be driven by the layout group.” Besides that, everything looks correct, but when I run it, my list doesn’t show and I don’t know how to troubleshoot it.
I am just trying to create a scrollable list.
I’m using Unity 2017.3.0f3. I’m fairly new to Unity (but an experienced programmer generally).