Try this. This is how I always work with Layout Groups.
On the layout group component check the two boxes for child controls size. Then on every child add a LayoutElement component. This is so each one of them controls its own width and height. If the children disappear after adding the LayoutElement component it’s because you need to at least set something not to 0 in their width and height configurations. Try Flexible Width and Height set to 1 for every child so they will all take the same amount of available free space, or you could just set a minimum W/H too.
Also, for the always necessary sanity check, make sure that the Horizontal Layout Group is actually enabled when you make an instance of it.