Instantiating into Grid Layout Group

Hey I am instantiating into a Grid Layout Group but it is not automatically picking up and setting up the grid?

Assuming this is the ui grid layout. Have you added the layout element component to the prefab you are spawning in?

yes indeed I have