# Loading and Using New Assets at Runtime

**URL:** <https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE5-0, Blueprint, question\
**Created:** [November 7, 2022, 3:36am UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480 "2022-11-07T03:36:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [November 7, 2022, 8:20am UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480/2 "2022-11-07T08:20:26Z")

</div>

Hey there @Seed_37! So it’s dependent on if you just want a texture2D or not. If that’s all you want, the Import File as Texture 2D node will do just fine. It returns a Texture2D with the image.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/5/ca52e9ce0c9e220443037f58b9b8e1a0637f1712.png)

Then here’s the C++ variant for those who need it:

```auto
FString FilePath = "C:/Users/MyUser/Images/MyImage.png";
UTexture2D* MyTexture = FImageUtils::ImportFileAsTexture2D(FilePath);

```

That said, having the player input file paths is… tedious to say the least. So here’s a free marketplace plugin by Firefly Studio that let’s you look directly for a filepath in an OS window. I believe it’s windows only however so you’d have to expand it by hand if you support other OSes.

_This is not an endorsement by Epic Games, I just use this plugin and I love it_

> **[Easy File Dialog in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/easy-file-dialog)**
>
> A simple & easy to use blueprint file dialog plugin

Let me know if you have any questions!

---

_[View the full topic](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480)._
