- Chunk.PNG (56.98 KiB) Viewed 200 times
Lessen Size of Saved Data
-
- Posts: 29
- Joined: Mon Sep 09, 2019 9:51 pm
Lessen Size of Saved Data
Hi! Is there a way we could lessen the size of this saved data from Dialogue manager? The server we are using could only save up to 7kb at a time.
Re: Lessen Size of Saved Data
Hi,
- Try using the BinaryDataSerializer instead of JsonDataSerializer.
- Inspect the Dialogue Manager's Persistent Data Settings and exclude data that you don't need. For example, maybe you don't need to include Actor data, or you only need to save quest states instead of all item & quest data.
- Remove unused fields from your database. Maybe you don't need fields such as Act, Chapter, Scene, Description, etc.
- Use a subclass of JsonDataSerializer that compresses the output of JsonUtility.ToJson(). The Asset Store has many compression plugins.