# C++ : Access to Plugin Assets

**URL:** <https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790>\
**Category:** Plugins\
**Tags:** pathfinding, unreal-engine, path, Plugins, CPP, question\
**Created:** [December 19, 2018, 10:16am UTC](https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790 "2018-12-19T10:16:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![evethir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evethir](https://forums.unrealengine.com/u/evethir)\
**Post date:** [December 19, 2018, 10:16am UTC](https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790/1 "2018-12-19T10:16:43Z")

</div>

Hi everybody  
I need to load an asset to my project in C++, this asset is stored in my plugin folder and I’m trying to figure out how to access to it in the same way as you can access the Content folder assests with the keyword “Game”:

Project content asset path example  
“/Game/FirstPerson/Textures/FirstPersonCrosshair”

how is it then for the plugins ?  
“Plugin/AssetPath/PluginAsset” ???

thanks for the attention 🙂

---

<div class="post-metadata">

**Author:** ![Firefly74](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Firefly74](https://forums.unrealengine.com/u/Firefly74)\
**Post date:** [December 19, 2018, 2:22pm UTC](https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790/2 "2018-12-19T14:22:18Z")

</div>

Sure,

to load

To load “Game\Plugins\StickyNotes\Content\StickyNoteMaterials\m\_yellow.uasset” ( this one in a pluggin in project, but works the same if plugin is just installed in engine )

i use  
“/StickyNotes/StickyNoteMaterials/m\_yellow.m\_yellow”

So it match what you said.

Ussually i simply browse to my asset in UE and right click =\> Copy reference, and it’s good 🙂

---

<div class="post-metadata">

**Author:** ![evethir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@evethir](https://forums.unrealengine.com/u/evethir)\
**Post date:** [December 20, 2018, 9:14am UTC](https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790/3 "2018-12-20T09:14:23Z")

</div>

GREAT 🙂 Thank you very much !!

---

<div class="post-metadata">

**Author:** ![BojanglesTheLess](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BojanglesTheLess](https://forums.unrealengine.com/u/BojanglesTheLess)\
**Post date:** [February 13, 2023, 2:51pm UTC](https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790/4 "2023-02-13T14:51:42Z")

</div>

> [@Firefly74](#):
>
> Ussually i simply browse to my asset in UE and right click =\> Copy reference, and it’s good

this is great!

---

<div class="post-metadata">

**Author:** ![Socke81](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/socke81/32/1194535_2.png) [@Socke81](https://forums.unrealengine.com/u/Socke81)\
**Post date:** [February 13, 2024, 4:53pm UTC](https://forums.unrealengine.com/t/c-access-to-plugin-assets/439790/5 "2024-02-13T16:53:38Z")

</div>

This works in the editor but when I create a build the material is not found. Any ideas why? The material file is in the content directory of the plugin.
