Why ToJson saves only {}? C#, Unity
Before this, I saved only one instance of the class in Json, and everything worked. Now when I try to save the whole array, nothing works for me. Please don’t advise me to switch to some Newtonsoft. Everywhere they say that JsonUtility can save arrays. Tell me, maybe there is an error in my script?
Here is code: