LoginSignup
2
0

Addressablesビルドしたとき、大量に重複しているresources/unity_builtin_extraを消す

Posted at

問題の環境

Unity 2023.2.14f1
Addressables 1.21.20

resources/unity_builtin_extra?

72箇所も重複している。気になる。
image.png

解決策

この問題は、Addresablesのバージョン2.0.3では修正されているとのことだが(参考記事参照)、マニュアルに2023.2リリースと書いてあるのにUPM上に表示されない。
どうやって2.xにアップデートできるのか分からなくて悩んでいたところ、どうやら、マニュアルページに記載があるパッケージ名+@バージョン名を入力してインストールする。

image.png
image.png

2.0.8でビルドすると消えました。
最初のスクショの通り、72箇所も重複していたことによって約3MBのスペースが占有されていたがこれでスッキリです。たぶん無視しても問題ないと思う・・・。
image.png

現時点では上記環境下において、2.xは推奨バージョンではありませんので一応注意です。

参考記事

https://docs.unity3d.com/ja/2023.2/Manual/com.unity.addressables.html
https://forum.unity.com/threads/stop-unity_builtin_extra-from-getting-duplicated-with-addressables.1407799/

2
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
2
0