「Unity/バージョンアップメモ/unity2020.3.0f1」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→iosの継続課金が使えない現象) |
(→パターン3) |
||
行19: | 行19: | ||
===パターン3=== | ===パターン3=== | ||
facebookのmediationを使っていて、それを外すと使えるようになった。 | facebookのmediationを使っていて、それを外すと使えるようになった。 | ||
+ | |||
+ | ==androidビルドで"UnityException: Error mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant."エラーが出るとき== | ||
+ | |||
+ | aaptOptionsの配列の中に、以下を追加 | ||
+ | noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ') | ||
+ | |||
+ | 参考:https://takoyaking.hatenablog.com/entry/aaptoptions_no_compress |
2021年3月17日 (水) 10:52時点における版
目次
AdMobとFirebase更新
- AdMob-5.3.0を当時最新の5.4.0へ
- Firebase-6.1.5から当時最新のFirebase-7.1.0へ
詳しくは以下へ
Unity/GoogleMobileAds/バージョンアップ [ショートカット]
iosの継続課金が使えない現象
パターン1
PurchaseFailureReason.DuplicateTransactionが出ており、iosの継続課金が使えない現象が出ていたが、
ProjectSettings/ProjectSettings.assetのproductGUIDを同じにしたら直った。
パターン2
別pcでうまく行かず、だったが、Windows/UnityIAPからkeyをいれて、以下2つを更新するとかでも直った。
Assets/Scripts/UnityPurchasing/generated/GooglePlayTangle.cs Assets/Scripts/UnityPurchasing/generated/AppleTangle.cs
パターン3
facebookのmediationを使っていて、それを外すと使えるようになった。
androidビルドで"UnityException: Error mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant."エラーが出るとき
aaptOptionsの配列の中に、以下を追加
noCompress = ['.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ')
参考:https://takoyaking.hatenablog.com/entry/aaptoptions_no_compress