# Parameter 'Static Mesh' was set with an attribute that is not a child class. It will be nulled out.

**URL:** <https://forums.unrealengine.com/t/parameter-static-mesh-was-set-with-an-attribute-that-is-not-a-child-class-it-will-be-nulled-out/2437450>\
**Category:** Asset Creation\
**Tags:** unreal-engine, question\
**Created:** [April 3, 2025, 9:56am UTC](https://forums.unrealengine.com/t/parameter-static-mesh-was-set-with-an-attribute-that-is-not-a-child-class-it-will-be-nulled-out/2437450 "2025-04-03T09:56:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [April 3, 2025, 9:56am UTC](https://forums.unrealengine.com/t/parameter-static-mesh-was-set-with-an-attribute-that-is-not-a-child-class-it-will-be-nulled-out/2437450/1 "2025-04-03T09:56:37Z")

</div>

Hi!

I’m trying to generate grass over a static mesh with a PCG Path, but I get this error:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/4/184b0264d321f1e0e5f18c0f8477e2b7d7f4755b.png)

And this is the actor with that PCG Path attached to:

 ![imagen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/3/093412ed13550c0d8d6c0add0a5d08453e58145b.png)

Any idea about that error?

To do it I’m following this video: [https://www.youtube.com/watch?v=ZM2mlQMuoAM](https://www.youtube.com/watch?v=ZM2mlQMuoAM)

Thank you.

---

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [April 3, 2025, 12:56pm UTC](https://forums.unrealengine.com/t/parameter-static-mesh-was-set-with-an-attribute-that-is-not-a-child-class-it-will-be-nulled-out/2437450/2 "2025-04-03T12:56:41Z")

</div>

After adding an inspection in the _Get Actor Property_ node, the error has fixed itself.
