0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Unity 6.3からAndroidビルド設定で「Data Location」項目が追加された

Posted at

Unity 6.3からAndroidビルド設定で「Data Location」項目が追加されました。

永続データ領域とテンポラリーなキャッシュ領域に関して、次のどちらかを選択できます。

  • 可能ならば外部ストレージに保存させる:「Prefer Exteranal」
  • 強制的に端末内部にさせる:「Force Internal」

Player Settings > Android > Other Settings > Configurationに、Data Location項目があります。

image.png

Unity 6000.3.b10のリリースノートはこちら。

Android: Added the option to force the use of internal storage for persistent and cache files.

私のPixel 9aの端末における、挙動の例を示します。

Prefer Exteranalだと、

  • Application.persistentDataPathは、「/storage/emulated/0/Android/data/{アプリケーションID}/files
  • Application.temporaryCachePath、「/storage/emulated/0/Android/data/{アプリケーションID}/cache

Force Internalだと、

  • Application.persistentDataPathは、「/data/user/0/{アプリケーションID}/files
  • Application.temporaryCachePath、「/data/user/0/{アプリケーションID}/cache
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?