# Distributing objects using PCG inside Blueprint

**URL:** <https://forums.unrealengine.com/t/distributing-objects-using-pcg-inside-blueprint/1919104>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [June 27, 2024, 10:36pm UTC](https://forums.unrealengine.com/t/distributing-objects-using-pcg-inside-blueprint/1919104 "2024-06-27T22:36:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DjNikMax](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DjNikMax](https://forums.unrealengine.com/u/DjNikMax)\
**Post date:** [June 27, 2024, 10:36pm UTC](https://forums.unrealengine.com/t/distributing-objects-using-pcg-inside-blueprint/1919104/1 "2024-06-27T22:36:24Z")

</div>

Hello everyone, I have a question about using PCG inside the Blueprint class.

Example: I need to distribute a static grass mesh to the roofs of a building, which is assembled using modules in the Blueprint class. The propagation must be implemented through objects inside the drawn spline, as shown in the picture below.

 ![Снимок экрана 2024-06-28 012852](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/e/44ec3eab1e53ffda3da3c54f09f7dc6d240cb0f5.jpeg)

1. In the Blueprint class I create a PCG object. I insert my PCG graph into the Graph item.

 ![Снимок экрана 2024-06-28 013043](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/5/295ed0cc43cf440ae7186af416fef7f973140298.jpeg)

1. I draw a spline inside the Blueprint, assign it a TT tag, which I have assigned to Get Spline Data.

2. I add the Mesh spawner and debug at the same time to see the exact result.

 ![Снимок экрана 2024-06-28 013419x](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/0/2c0b893eea6a2f973b06a790e34e950509e15578.png)

And nothing happens, in all the videos that I watched - that was enough for what I did.

If there is a need to do something in the Event Graph, then please give detailed instructions on what is required of me. If not, and there is some minor issue here, then please tell me.

---

<div class="post-metadata">

**Author:** ![vidaandras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vidaandras/32/878178_2.png) [@vidaandras](https://forums.unrealengine.com/u/vidaandras)\
**Post date:** [March 3, 2026, 3:41pm UTC](https://forums.unrealengine.com/t/distributing-objects-using-pcg-inside-blueprint/1919104/2 "2026-03-03T15:41:15Z")

</div>

Have you managed to find an answer to this question? I’m struggling with the same.

---

<div class="post-metadata">

**Author:** ![Davit35tik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davit35tik](https://forums.unrealengine.com/u/Davit35tik)\
**Post date:** [March 6, 2026, 6:43pm UTC](https://forums.unrealengine.com/t/distributing-objects-using-pcg-inside-blueprint/1919104/3 "2026-03-06T18:43:56Z")

</div>

PCG inside a Blueprint will not generate automatically like it does in the level.

You need to trigger it from the Blueprint. In the Construction Script (or BeginPlay), call Generate on the PCG Component.

Also check that the PCG volume/bounds actually cover the spline. If the spline sits outside the component bounds, the graph runs but nothing spawns.

Most of the time the issue is simply that the PCG component never gets a Generate call inside the Blueprint.
