Search Unity

Bug Unity wont save a sprite in a list.

Discussion in 'Editor & General Support' started by Skyflamme, Mar 21, 2023.

  1. Skyflamme

    Skyflamme

    Joined:
    Aug 12, 2020
    Posts:
    33
    Hello dear unity forum members,

    I have a list, I want to store sprites in them, but Unity doesn't want to save them when I press the play-button. Why? How can I fix it?

    Here is the video where I showcase my problem:


    Thank you,
    Skyflamme.
     
  2. Skyflamme

    Skyflamme

    Joined:
    Aug 12, 2020
    Posts:
    33
  3. BABIA_GameStudio

    BABIA_GameStudio

    Joined:
    Mar 31, 2020
    Posts:
    497
    What happens if you actually save your scene after you add your sprite to the list before you click play? Because according to the indicator on the window header you aren't saving any changes before you play.
     
  4. Skyflamme

    Skyflamme

    Joined:
    Aug 12, 2020
    Posts:
    33
    Unfortunately, same result.