Community Tutorial: Understanding Procedural Content Generation (PCG)

The PCG tool is vast, and can be quite cumbersome to get your head around. Follow me in this tutorial guide on Understanding the PCG tools and how you can use them. In this tutorial you will go beyond copying what you are seeing in a forest tutorial and learn how to make the most of the PCG tools in Unreal Engine 5.

https://dev.epicgames.com/community/learning/tutorials/pLn0/unreal-engine-understanding-procedural-content-generation-pcg

Hello DEV Community, I want to spawn foliage on large area for a town or city that has millions of points where grass or tree are to be spawned on cesium terrain in unreal engine 5. Currently i got polygons in which i sample points based on density factor than on those points i spawn the trees or grass etc. but it severely chokes my main thread as Spawning related all things are only available on main thread in unreal engine. i am using PCG Graphs where i feed the polygons as spline in pcg graph than calculate in between points based on density factor and then calculate exact terrain height on those points but it lags too much on startup. Preparing PCG Tasks 80000. What are the best approaches to do this ?