「Unity/バージョンアップメモ/unity2022.3.8f1」の版間の差分
提供: 初心者エンジニアの簡易メモ
(→enableUncompressedNativeLibsエラー) |
|||
行22: | 行22: | ||
It will be removed in version 8.0 of the Android Gradle plugin. | It will be removed in version 8.0 of the Android Gradle plugin. | ||
</pre> | </pre> | ||
− | + | 対応方法: | |
− | + | MobileNotificationを2(2.2.1)系から1.4.4へ | |
+ | |||
参考:https://twitter.com/Hig_assin/status/1498552762942246912 | 参考:https://twitter.com/Hig_assin/status/1498552762942246912 | ||
2023年9月4日 (月) 22:23時点における版
目次
バージョンアップ情報
unity2022.3.0f1からunity2022.3.8f1へ
unityバージョンアップのエラー対策
FirebaseAuthのエラー対応
エラー詳細
error CS1061: 'Task' does not contain a definition for 'Result' and no accessible extension method 'Result' accepting a first argument of type 'Task' could be found (are you missing a using directive or an assembly reference?)
修正方法
-Firebase.Auth.FirebaseUser newUser = task.Result; +Firebase.Auth.FirebaseUser newUser = task.Result.User;
enableUncompressedNativeLibsエラー
MobileNotificationがエラーを起こしている。 エラー詳細
WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated. The current default is 'true'. It will be removed in version 8.0 of the Android Gradle plugin.
対応方法: MobileNotificationを2(2.2.1)系から1.4.4へ
参考:https://twitter.com/Hig_assin/status/1498552762942246912
合わせてほかもバージョンアップ
- GoogleMobileAds-v8.5.2(8.3.0から)
- firebase_unity_sdk_11.4.0(10.0.0から)
以下でアンインストール対応して、インストールすると良いかも。
- Assets/Firebaseを削除
- Assets/GoogleMobileAdsのスクリプトだけ削除
- Assets/Plugins/Android/FirebaseAppを削除
- Assets/Plugins/Android/FirebaseCrashlyticsを削除