Unity: mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.
現象
mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.<<<
2020.2にUnityをアップデートしてAndroidビルドをすると上のようなエラーメッセージが出現した。
環境
- unity 2020.2.1f
- Firebase
対処法
UnityPlayer.displayChanged() method to add a Surface as an additional display - Unity Forum
aaptOptionsの中に↓を追加するnoCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')