# 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:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seed\_37](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seed_37/32/88718_2.png) [@Seed\_37](https://forums.unrealengine.com/u/Seed_37)\
**Post date:** [November 7, 2022, 3:36am UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480/1 "2022-11-07T03:36:03Z")

</div>

I would like the player to be able to use their own artwork for the avatar and some other assets. Maybe Have them enter the file path and name then have it load in game. Or have a designated folder that you just drop an .jpg into and it automatically uses it. How would I go about doing this?

1. 
  - Finding the file

2. 
  - Creating an asset with the file at runtime (if that is what’s needed)

3. 
  - Using the file in game

---

<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!

---

<div class="post-metadata">

**Author:** ![Seed\_37](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seed_37/32/88718_2.png) [@Seed\_37](https://forums.unrealengine.com/u/Seed_37)\
**Post date:** [November 8, 2022, 11:56pm UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480/3 "2022-11-08T23:56:03Z")

</div>

Thank you very much for the information on this, I will be trying it out as soon as I can get to it.

---

<div class="post-metadata">

**Author:** ![Reinhart-l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reinhart-l](https://forums.unrealengine.com/u/Reinhart-l)\
**Post date:** [April 14, 2025, 1:29pm UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480/4 "2025-04-14T13:29:19Z")

</div>

> [@SupportiveEntity](#):
>
> `ImportFileAsTexture2D`

I successfully used `ImportFileAsTexture2D` to load a texture externally at runtime, but I’m now encountering an issue: I want the imported texture to enable Virtual Streaming. However, `ImportFileAsTexture2D` internally calls `UTexture2D::CreateTransient` to create a temporary `UTexture2D` object from the loaded image data. The created `UTexture2D` only contains basic MipMap data (`PlatformData->Mips`), and it lacks the precomputed data `FVirtualTextureBuiltData` (`PlatformData->VTData`) required for virtual textures. This `VTData` is typically generated in the editor when VT is enabled and built/cooked, containing tile information, level details, and other data needed for the VT system to function. How can I resolve this issue?

---

<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:** [April 16, 2025, 4:15am UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480/5 "2025-04-16T04:15:49Z")

</div>

Hey there @Reinhart-l! Welcome to the community! If you’ll need data baked in, then cooked filetypes like pak files would be good, but depending on your use case this wouldn’t be feasible. What’s your use case?

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [September 1, 2026, 6:44am UTC](https://forums.unrealengine.com/t/loading-and-using-new-assets-at-runtime/685480/6 "2026-09-01T06:44:38Z")

</div>

For hot-folder drop jpg automatically use it: watch folder + async decode without hitch. Polling misses events packaged and spams Modified x3 in 200ms. I built Runtime Directory Watcher UE5 packaged StartWatchingDirectory with filter \*.jpg + OnFileAdded/Modified → LoadTextureFromFileAsync → UTexture2D callback handles copy-race dedupe. FAB [Runtime Directory Watcher — Hot-Folder File Events & Async Texture Loader | Fab](https://www.fab.com/listings/98c9d662-202c-4e78-aeb7-dbf52e7d6935) Disclosure my plugin; DIY check CreateFileW GENERIC\_READ 0 share before LoadFileToArray.
