- Home /
Best Way to Store Large Number of GameObjects?
I need a way to save at least 100 different GameObjects and retrieve them later, and I am not sure how to approach this problem. I am looking into using XML Serialization, but I have no experience with XML and am not sure if it is possible or the best way to accomplish this.
The GameObjects I need to save are empty GameObjects, but they have multiple child GameObjects with different Components I need to save.
@CaleFitz Are you saving it during runtime or just in the inspector?
Take a look at the Asset store or my own Save/Load solution:
@$$anonymous$$ittenSnipes I want to save them during runtime.
Answer by KittenSnipes · Jan 21, 2018 at 09:43 PM
What I recommend using is a static list then. This video shows you how to perfectly do so just adapt it to your needs.
Your answer
![](https://koobas.hobune.stream/wayback/20220612150939im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to save gameobject values with respect to scene? 1 Answer
Loading class instances from Json file gives ArgumentNullException 1 Answer
(SOLVED) Serializing different JSON objects, contained in an array, in another JSON object. (C#) 2 Answers
JsonUtility and Arrays [Error - "JSON must represent an object type"] 2 Answers
android serialization weird path issue " IsolatedStorageException ", javascript 0 Answers