Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug (Case 1342696) Can't assign sprite in localized asset reference in script LocalizeSpriteEvent.

Discussion in 'Localization Tools' started by Demencja, Jun 12, 2021.

  1. Demencja

    Demencja

    Joined:
    Nov 7, 2016
    Posts:
    21
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,845
    I think this is a quirk in Unity. If you drag the root sprite asset into an Asset table then it will treat it like a Texture, you need to drag the sub asset which is the actual sprite. If you make the entry empty in the table you can see the asset type it expects in the corner. If it's Texture then it's the wrong type.
     
  3. Demencja

    Demencja

    Joined:
    Nov 7, 2016
    Posts:
    21
    Thank you. Your answer helped me with the problem.

    Unity forum.png
     
    karl_jones likes this.