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

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?

Can you post a screenshot of your file hierarchy ?

I meant Verse file hierarchy sorry :smiley:

It’s just one file created in the verse explorer

1 Like

You’re missing this :
image

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.

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

using { IMages }

Tell me if it worked :+1:

1 Like

That doesn’t work either

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…

Not /IMages, IMages :+1:

Also maybe rename so you respect CamelCase formatting ?

1 Like

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 :slight_smile:

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

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

1 Like

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!

1 Like

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