I have a problem and I haven’t seemed to find a way to solve it by myself or searching for it. The problem I have is that I have a simple cube with a controller on so if I press space button on my keyboard, it AddForce on the cube on the y-axis. I will have like different types of obstacles in the way that is procedurally generated when the player gets higher and higher but I am really stuck at this part. I have managed to make a simple for loop and the Instantiate function to generate like 10000 but it causes performance issues and lag. Any help, solutions or points on where I should he going to procedurally generate cubes would be appreciated. Thank you