Unable to localize sprites

Hi there!

I’m trying to change a sprite depending on the language selected, as I did previously with a text table. So I’ve created a new asset table and stored a key with new sprites, as you can see in the following image:

However, at the moment I want to localize the asset reference, there is no option to choose the key previously stored, just the name of the table is shown:

So far, the issue has been solved by changing from image to raw image, since the option to localize a texture event works perfectly, but I’d like to know whether I’m missing something when I want to create the same effect by using a sprite instead of a texture.

Thanks in advance!

Sprite assets are a texture with a sprite sub asset. So if you just drag the asset it will treat it as a texture. You need to expand the asset and drag the sub asset in so it recognises it as a sprite. We have some plans to improve this ux in the future.

1 Like

By dragging the asset directly into the object, I realized that a 2D texture is attached to the key; however, following your directions, it has now been linked as a sprite. Thanks again!!

1 Like