Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Sprite from sprite sheet missing after project reload

Discussion in 'Project Tiny' started by Frickinlaser, May 3, 2019.

  1. Frickinlaser

    Frickinlaser

    Joined:
    Jan 19, 2014
    Posts:
    22
    Hi,

    When using a sprite from a sprite sheet it works as long as I keep the project opened. But as soon as I change project or just reopen the current one, the sprite is missing from the Sprite Renderer component. It only happens with sprite sheets. Single sprites are remembered. Is this a known issue, or is there just something I'm not understanding?

    sprite missing.png

    import settings.png
     
  2. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    We have a recorded bug about this but it seemed like a very specific problem. What Unity and Tiny package versions are you using?

    I have a gut feeling it is related to where this file is stored.
     
  3. Frickinlaser

    Frickinlaser

    Joined:
    Jan 19, 2014
    Posts:
    22
    I was using 2019.1.0f2 and Tiny 0.14.5.
    I also tested with the latest Unity version 2019.1.1f1 with the same result.
    I've created projects both in C: and a different drive. No spaces in the path or project names.

    1. Created a new project.
    2. Downgraded TextMesh Pro to 1.3.0.
    3. Installed Tiny Mode 0.14.5.
    4. Created a new Tiny project (no spaces).
    5. Created a folder called Textures, dropped a png with 5 32x32 sprites and set it up as shown in the image above.
    6. Dragged the first sprite of the sprite sheet into the default entity group "NewEntityGroup" in the hierarchy.
    7. The sprite is rendered as expected.
    8. Reloaded the Tiny project.
    9. The sprite field of the Sprite Renderer component is now empty.
     
  4. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    Is there a save step between steps 7 and 8?
     
  5. Frickinlaser

    Frickinlaser

    Joined:
    Jan 19, 2014
    Posts:
    22
    Yes there is.
     
  6. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    Can you try the latest 2018.3 please
     
  7. Frickinlaser

    Frickinlaser

    Joined:
    Jan 19, 2014
    Posts:
    22
    Yeah, that works. With 2018.3.14, the sprite is still there after reloading.
     
  8. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    122
    Thanks for the information @Frickinlaser. Unfortunately, Tiny does not support 2019 officially right now so I recommend using Tiny in 2018.3.
     
  9. Frickinlaser

    Frickinlaser

    Joined:
    Jan 19, 2014
    Posts:
    22
    No problem! I'll work with 2018.3 in the meantime. Really enjoying Tiny Mode so far!