Page 1 of 1

Save to file at android build?

Posted: Sun Nov 27, 2016 10:53 am
by leegod
I chosen file type for save repository.

And now I am making android build, can I have problem because above file type chosen?

I chose at Build Setting - Configuration - Install Location to [Prefer External].

Thanks.

Re: Save to file at android build?

Posted: Sun Nov 27, 2016 11:43 am
by Joel
Hi there,

I'm not sure I fully understand your question. By "file type for repository" do you mean you've set the save location to File?

Saving to file on Android is supported (and happens by default). As long as you specify a filename or relative path as the path, it will store to Unity's Application.persistentDataPath, which is a location they guarantee to be writable.

All the best,
Joel

Re: Save to file at android build?

Posted: Sun Nov 27, 2016 9:28 pm
by leegod
Joel wrote:Hi there,

I'm not sure I fully understand your question. By "file type for repository" do you mean you've set the save location to File?

Saving to file on Android is supported (and happens by default). As long as you specify a filename or relative path as the path, it will store to Unity's Application.persistentDataPath, which is a location they guarantee to be writable.

All the best,
Joel
ok thanks.