# Is it possible to load static mesh files in run time from project folders?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-load-static-mesh-files-in-run-time-from-project-folders/507269>\
**Category:** C++\
**Tags:** ufunction, unreal-engine, Scripting, UE4, UE4-27\
**Created:** [March 16, 2022, 7:55am UTC](https://forums.unrealengine.com/t/is-it-possible-to-load-static-mesh-files-in-run-time-from-project-folders/507269 "2022-03-16T07:55:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nness](https://forums.unrealengine.com/u/Nness)\
**Post date:** [March 16, 2022, 7:55am UTC](https://forums.unrealengine.com/t/is-it-possible-to-load-static-mesh-files-in-run-time-from-project-folders/507269/1 "2022-03-16T07:55:02Z")

</div>

Hello all,

I’m trying to load static mesh files from project folder. I found this solution, I tried it but I think it work’s only on the construct phase : [https://unrealcpp.com/add-mesh-from-file/](https://unrealcpp.com/add-mesh-from-file/).  
Do you know if is it possible to do that and how ?

Thanks for your time.

Nness

---

<div class="post-metadata">

**Author:** ![midgunner66](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/midgunner66/32/466711_2.png) [@midgunner66](https://forums.unrealengine.com/u/midgunner66)\
**Post date:** [March 17, 2022, 12:24am UTC](https://forums.unrealengine.com/t/is-it-possible-to-load-static-mesh-files-in-run-time-from-project-folders/507269/2 "2022-03-17T00:24:28Z")

</div>

> [@Runtime skeletal mesh load](https://forums.unrealengine.com/t/runtime-skeletal-mesh-load/273490/6):
>
> You can load new assets at runtime: This is code I made that loads user-added sounds at runtime and plays a random one: Assets can even be added to the game directory at runtime (i.e. they don’t need to exist at game startup).

In the example, I load assets at runtime from `/Game/UserContent`, which on disk is `(ProjectName)/Content/UserContent`. The example is in blueprints, but [here’s a guide for C++](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ProgrammingWithCPP/Assets/Registry/).

---

<div class="post-metadata">

**Author:** ![Nness](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nness](https://forums.unrealengine.com/u/Nness)\
**Post date:** [March 17, 2022, 8:59am UTC](https://forums.unrealengine.com/t/is-it-possible-to-load-static-mesh-files-in-run-time-from-project-folders/507269/3 "2022-03-17T08:59:40Z")

</div>

Ty very much @midgunner66 it’s exactly what I needed !

---

<div class="post-metadata">

**Author:** ![djawedahmed](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@djawedahmed](https://forums.unrealengine.com/u/djawedahmed)\
**Post date:** [February 13, 2024, 7:47pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-load-static-mesh-files-in-run-time-from-project-folders/507269/4 "2024-02-13T19:47:18Z")

</div>

hi @Nness , can you tell me how did you load a static mesh from project folder in runtime PLS , thanks
