# PCG Custom Prim Data & Per-Instance Custom Data?

**URL:** <https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482>\
**Category:** Programming & Scripting\
**Tags:** Procedural-Generation, unreal-engine\
**Created:** [June 21, 2024, 12:40pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482 "2024-06-21T12:40:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nodes\_Of\_Nature](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nodes_of_nature/32/602576_2.png) [@Nodes\_Of\_Nature](https://forums.unrealengine.com/u/Nodes_Of_Nature)\
**Post date:** [June 21, 2024, 12:40pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482/1 "2024-06-21T12:40:27Z")

</div>

When will we have access to Custom Prim Data & Per-Instance Custom Data in PCG?

---

<div class="post-metadata">

**Author:** ![\_jiji](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/_jiji/32/754976_2.png) [@\_jiji](https://forums.unrealengine.com/u/_jiji)\
**Post date:** [June 28, 2024, 1:44pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482/2 "2024-06-28T13:44:43Z")

</div>

it not work ,i meet the same problem

---

<div class="post-metadata">

**Author:** ![BiggerKahuna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BiggerKahuna](https://forums.unrealengine.com/u/BiggerKahuna)\
**Post date:** [March 29, 2025, 1:27pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482/3 "2025-03-29T13:27:14Z")

</div>

Just want to see if any thing new is available on this. I can get the Per-Instance Custom data to work on ISM or even a custom Foilage. As soon as I chuck it into a PCG nada…

---

<div class="post-metadata">

**Author:** ![MrSnaztastic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrSnaztastic](https://forums.unrealengine.com/u/MrSnaztastic)\
**Post date:** [May 2, 2025, 8:29pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482/4 "2025-05-02T20:29:44Z")

</div>

Interested in this as well, custom data is a great feature and would love to use it in conjuction with larger PCG setups.

---

<div class="post-metadata">

**Author:** ![bezik7124](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bezik7124](https://forums.unrealengine.com/u/bezik7124)\
**Post date:** [December 10, 2025, 10:50pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482/5 "2025-12-10T22:50:53Z")

</div>

Not sure since when that’s available, but there’s “Instance Data Packer Type” property in the Static Mesh Spawner.

Example setup:  
I’m spawning stuff on top of other meshes using Volume Sampler. Generated points are eventually fed into the “Static Mesh Spawner” in which I’ve overridden two properties:

- “Instance Data Packer Type” - set to “PCGInstanceDataPackerByAttribute”
- “Attribute Selectors” - set to $Color (click the plus buttont to explore available stuff)

In the ISM material I’m using the “PerInstanceCustomData3Vector” node to access this data.

---

<div class="post-metadata">

**Author:** ![Frenetic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/frenetic/32/1142542_2.png) [@Frenetic](https://forums.unrealengine.com/u/Frenetic)\
**Post date:** [December 10, 2025, 11:46pm UTC](https://forums.unrealengine.com/t/pcg-custom-prim-data-per-instance-custom-data/1911482/6 "2025-12-10T23:46:44Z")

</div>

to confirm: this is absolutely doable, custom-data packer is where it’s at

check the top pic of my post here on where it’s in the UI:

> [@Procedural Landscape Layers](https://forums.unrealengine.com/t/procedural-landscape-layers/2658099/31):
>
> Got it working with custom-attributes off the GPU. The item is buried in the UI: EDIT: Yup, best of both worlds. I can use the alpha-layer in my RVT to act as the grassmask. (Essentially) the same maths would be feeding into the gass-output node in the landscape material, but at the cost of 3 texture-samplings (in my particular case). Per-layer, if I had a few masks, it would add up; no-go for me. With this method, I don’t even need a gass-node, so there’s 0cost there.. smiley …
