- Home /
What data does Unity store on Android?
I created a simple 2D puzzle game and I'd like to keep its size as low as possible. The initial size of the build on Android is around 50MB which is good but as soon as I start playing the following happens:
When data saving is turned off its size grows with about 8MB and I have no idea why. This 8MB can be cleared by the user without affecting the game and my mobile device indicates that it's not cache so what is it and why is it stored? I have a couple of plugins attached (Google AdMob, Facebook Audience Network and Firebase) and Unity Analytics is turned on maybe one of it stores something locally.
When data saving is turned on this 8MB jumps to 25 MB after the first save. At first I don't save that much information on persistendDataPath, my 'data.fun' file is only 5KB so I really don't know why it takes almost plus 15MB to store it.
Can anyone explain to me what's happening here? Am I doing something wrong or is it the way Unity handles data and there's nothing to do about it?
Answer by Daria256 · Dec 06, 2021 at 11:41 AM
Unity has collected some or all of the following information about your device: unique device identifiers (e.g., IDFV for iOS devices and Android ID for Android devices); IP address; country of install (mapped from IP address); device manufacturer and model platform type (iOS, Android, Mac, Windows, etc.) and the ...
Your answer
![](https://koobas.hobune.stream/wayback/20220613050243im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Android Galaxy Nexus Resolution Question, not really 1280 x 720? 1 Answer
Diferences between Editor Log & OutPut file size? 0 Answers
How can I change the text size on iOS and Android? 4 Answers
Saves on android, could not find file 0 Answers
Best way to store data for multi platform aplication 1 Answer