Asynchronous Instantiate

The context is procedural generation of a large number of objects.

Is it possible to instantiate many objects asynchronously so that when a loading screen is slapped on, the program doesn’t freeze and freak out the user?

Use a coroutine to limit the amount of instantiate called each frame. Then update your progress bar between frames.

1 Like