Search Unity

Bug Sprite Asset Regression

Discussion in 'UI Toolkit' started by MousePods, Jun 21, 2021.

  1. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    811
    Hi,

    Since I updated to 20201 beta 1, my old Sprite Asset has the script missing error. I remade the asset, but now it doesn't generate the Default Material making the sprites invisible.

    Screen Shot 2021-06-21 at 4.11.04 PM.png

    Screen Shot 2021-06-21 at 4.11.12 PM.png

    Is this a known issue?

    It will also, on restart of the editor, lose the font asset reference making all the sprite settings disappear.

    Thanks!
     
    RunninglVlan likes this.
  2. HugoBD-Unity

    HugoBD-Unity

    Unity Technologies

    Joined:
    May 14, 2018
    Posts:
    499
    Hi @MousePods!

    Regarding the script not being recognized, this might be an issue with assets created with the com.unity.ui package and that have been upgraded to a project without the com.unity.ui package. Our team made a tool for this migration in Window/UI Toolkit/Package Asset Converter.

    For the creation of Sprite Assets, this is a known issue that has already a fixed pending review. In the meantime, I believe this can be solved by importing the Window/TextMesh Pro/Import TextMeshPro Essential Resources.

    Let me know if this was useful!
     
    MousePods likes this.
  3. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    811
    That is what I figured and just decided to remake it. Thanks for the tidbit about the converter!

    Thanks for the confirmation!
     
    HugoBD-Unity likes this.
  4. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    811
    Just wondering if there is any update?
     
  5. HugoBD-Unity

    HugoBD-Unity

    Unity Technologies

    Joined:
    May 14, 2018
    Posts:
    499
    We have a fix, but it hasn't been merged yet. It should land fairly soon.
     
    RunninglVlan and MousePods like this.