Dictionaries become empty when pressing play

Issue #714 new
Harry created an issue

unity: 2019.4.11
windows pc: build for android.

my code:

public class FlagsConfig : SerializedScriptableObject
    public Dictionary<string, Sprite> Flags = new Dictionary<string, Sprite>();

Repro Steps:

  1. Fill out the dictionary:

2. Press play.

3. You lose your data:

Comments (1)

  1. Log in to comment