I have been using unity for about a year now and still consider myself new to it all. One of my more recent projects that I’ve made I tried using the vertical layout group and dynamically removing and adding prefabbed buttons to its children through code. This is for a dialogue system that is in the game this method is working perfectly fine through the unity editor, but whenever I build the game, all other UI in my game works perfectly fine, but only the buttons are not being displayed or I think that they are, but just not getting sized correctly. Either way, the buttons are not visible when running through the build.
Does anyone have any solution to this?