# PCG Foliage Loading Failure on Partial Terrain 

**URL:** <https://forums.unrealengine.com/t/pcg-foliage-loading-failure-on-partial-terrain/2753830>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [September 1, 2026, 3:16pm UTC](https://forums.unrealengine.com/t/pcg-foliage-loading-failure-on-partial-terrain/2753830 "2026-09-01T15:16:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![BRGEzedeRocco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brgezederocco/32/1216890_2.png) [@BRGEzedeRocco](https://forums.unrealengine.com/u/BRGEzedeRocco)\
**Post date:** [September 11, 2026, 5:11pm UTC](https://forums.unrealengine.com/t/pcg-foliage-loading-failure-on-partial-terrain/2753830/2 "2026-09-11T17:11:35Z")

</div>

Hello @Is_oyu ,  
I’m not very familiar with PCG , but according to the `SamplePoints` documentation, when PCG cannot find a valid overlap with the landscape for a point, that point is returned with a `Density = 0`.

> **[UPCGLandscapeData::SamplePoints | Unreal Engine 5.8 Documentation | Epic...](https://dev.epicgames.com/documentation/unreal-engine/API/Plugins/PCG/UPCGLandscapeData/SamplePoints)**
>
> Performs multiple samples at the same time.

My understanding is that the point still exists in the output, but PCG considers it invalid for spawning instances. Therefore, if `GetLandscapeData` is returning a density of 0 in certain areas of the terrain, that could explain why the vegetation is not appearing there.

You can also select the “Surface Sampler” node and press **D** (or right-click the node and enable Debug). This will allow you to visualize the points being generated directly in the world, which can help determine whether the issue is occurring during point generation or at a later stage in the graph.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/e/4ee5333b244d61218545df3a643dd2395cfee1dd.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/0/d3009d3e46f6e035e229b007714b30b8a486f23c.jpeg)

I’m also leaving this [video](https://www.youtube.com/watch?v=mVN7mUDscxw), which explains how to use PCG very well, along with the official documentation and a post that mentions a solution you could try as well.

> **[UPCGLandscapeData | Unreal Engine 5.8 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/unreal-engine/API/Plugins/PCG/UPCGLandscapeData)**
>
> Landscape data access abstraction for PCG.

> [@PCG with multiple Landscape actors](https://forums.unrealengine.com/t/pcg-with-multiple-landscape-actors/2455967):
>
> Hey everyone, I’m working with Procedural Content Generation (PCG) in Unreal Engine 5 and running into an issue when using the “Get Landscape Data” node. In my scene, I have two Landscapes, one large and one smaller in the center of the other. When I place a PCG Graph on the smaller, inner Landscape, it doesn’t generate any points — it seems like it’s not detecting the Landscape at all. However, if I move the same PCG Graph to the larger, outer Landscape, everything works fine and points are g…

Hope it helps!

---

_[View the full topic](https://forums.unrealengine.com/t/pcg-foliage-loading-failure-on-partial-terrain/2753830)._
