facebook twitter hatena line email

Unity/バージョンアップメモ/unity2020.3.0f1

提供: 初心者エンジニアの簡易メモ
移動: 案内検索

AdMobとFirebase更新

  • AdMob-5.3.0を当時最新の5.4.0へ
  • Firebase-6.15.2から当時最新の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

iosのhttp通信がTransportエラーで機能しない時

Unity/Csharp/Request [ショートカット] を確認する