# trying to use image texture in UI, doesn't work

**URL:** <https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521>\
**Category:** Programming & Scripting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [September 5, 2023, 6:42am UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521 "2023-09-05T06:42:54Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 6:42am UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/1 "2023-09-05T06:42:54Z")

</div>

I’m trying to use Verse to show an image (as a texture) as it seems to be available now, but I keep getting the error (after importing and compiling verse to get the Assets.digest file)

Unknown identifier `MyTexture`. Did you forget to specify using { /localhost/Detonation\_Game/IMages }?

But, if I add that “using” then it says I can’t use localhost as a using…

How to fix this?

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 5, 2023, 10:40am UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/2 "2023-09-05T10:40:52Z")

</div>

Can you post a screenshot of your file hierarchy ?

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 3:32pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/3 "2023-09-05T15:32:09Z")

</div>

![Screenshot 2023-09-05 083137](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/d/5/9d5784c92b89744f32d4317b9ca1b59d78918347.png)

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 5, 2023, 3:33pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/4 "2023-09-05T15:33:01Z")

</div>

I meant Verse file hierarchy sorry 😃

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 3:36pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/5 "2023-09-05T15:36:05Z")

</div>

It’s just one file created in the verse explorer

 ![Screenshot 2023-09-05 083543](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/7/de7fbae8a064d1fb3f98607b31ecc72879f8cf2b.png)

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 5, 2023, 3:48pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/6 "2023-09-05T15:48:32Z")

</div>

You’re missing this :  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/4/5/d45d1c6e7a2c2e0521d955820f61b0d13ba7cba0.png)

> [@How to "edit the .uplugin file" to enable Asset Reflection in pre v26.00 projects?](https://forums.unrealengine.com/t/how-to-edit-the-uplugin-file-to-enable-asset-reflection-in-pre-v26-00-projects/1273543/2):
>
> Hey @Fresnella! Add the line: "EnableVerseAssetReflection": true,

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 3:51pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/7 "2023-09-05T15:51:33Z")

</div>

ah, sorry, it’s there but goes away when you open up the project with a verse error in it. When I remove the “using” line and rebuild (2 times in a row for some reason) it comes back. That’s not the issue unfortunately.

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 3:53pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/8 "2023-09-05T15:53:53Z")

</div>

![Screenshot 2023-09-05 085316](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/4/a449b101f35577d531db90aeefbbb8e2de90185b.png)

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 5, 2023, 4:01pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/9 "2023-09-05T16:01:22Z")

</div>

Ok I didn’t test yet with nested path, but apparently you can just remove the first part of the path like this :

```auto
using { IMages }

```

Tell me if it worked 👍

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 4:41pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/10 "2023-09-05T16:41:03Z")

</div>

That doesn’t work either

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 4:43pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/11 "2023-09-05T16:43:36Z")

</div>

If you see the 5th post here, it just shows up red and says it can’t resolve it. A restart doesn’t help either. This makes no sense… what could I possibly be missing…

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 5, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/12 "2023-09-05T16:57:22Z")

</div>

Not /IMages, IMages 👍

Also maybe rename so you respect CamelCase formatting ?

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 5:16pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/13 "2023-09-05T17:16:51Z")

</div>

I’ve tried it all my friend, it won’t recognize it…

As for code formatting, this is a test to play and I held the shift key down one key too long and didn’t care 🙂

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 5:17pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/14 "2023-09-05T17:17:49Z")

</div>

I think you can’t even put a path that doesn’t have a forward slash in it first

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [September 5, 2023, 5:19pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/15 "2023-09-05T17:19:42Z")

</div>

I’m telling you that, because it works on my end this way…

---

<div class="post-metadata">

**Author:** ![GraemeBB](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/graemebb/32/1106150_2.png) [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Post date:** [September 5, 2023, 5:46pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/16 "2023-09-05T17:46:41Z")

</div>

It just started to work now after walking away from it for 30 mins… why???

oh well, thanks! Much appreciated you sticking with me on this one!

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [October 5, 2023, 5:47pm UTC](https://forums.unrealengine.com/t/trying-to-use-image-texture-in-ui-doesnt-work/1283521/17 "2023-10-05T17:47:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
