Lab 7 in Singapore

Unityでのゲーム開発、プログラミング教育、VR/AR/MR、AI・機械学習に関して。たまにシンガポールのネタも。

Unity エラー

【Unity】Google Playの対象APIがAPIレベル29(Android 10)に

また Google Play の 対象API をあげる必要がありますね。Googleから以下のメールが。

This is a reminder that starting November 2, 2020, updates to apps and games on Google Play will be required to target Android 10 (API level 29) or higher. After this date, the Play Console will prevent you from submitting new app bundles and APKs with a target Sdk Version less than 29.

しかも今回は前回より設定がやっかいだったんです。Android Studioで API29をインストールしても「Android SDK is missing required platform API:Required API level 29.」と出てきてしまう。
そこの対応策も含めて説明していこうと思います。
Unity_Error_39
続きを読む

【Unity】App Store申請時にTrueDepth APIでRejectされた際の対応(Unity AR Foundation使用)Part.2

新たにリリースした ARアプリ「Always with Merlion /Singapore」。Unity AR Foundation を使用しています。

そして前回から紹介していますが App Storeへ申請する際に TrueDepth API が含まれていることに伴う Rejectを受けました。

その解決法の続きです。Package Managerから「ARKit Face Tracking」を削除し、iOSでビルド時に出る以下のエラーの対応からです。
Unity_Error_104

Assets/Scripts/ARKitBlendShapeVisualizer.cs(47,5): error CS0246: The type or namespace name 'ARKitFaceSubsystem' could not be found (are you missing a using directive or an assembly reference?)
続きを読む

【Unity】App Store申請時にTrueDepth APIでRejectされた際の対応(Unity AR Foundation使用)Part.1

新たな ARアプリを Google Playと App Storeからリリースしました。「Always with Merlion /Singapore」と言います。Unityの AR Foundation を使用しています。

これを App Storeへ申請する際に一度 Rejectを受けました。それは以下のような理由です。

During review, we found that your app includes TrueDepth APIs. However, we were not able to locate any features in your app that use TrueDepth APIs.

要は、TrueDepth API の機能をアプリで使ってないのに、ライブラリを含んだ形でビルドされています とのこと。
Unity_Error_97
続きを読む

【Unity】MacでUnity HubからAndroid SDK導入時に「The server is currently unresponsible.」

Macで Unityでの Androidビルド時に手こずりました。
まず「Android SDK not found」。初めてAndroidへのビルドする際に見る機会があるかと思います。
通常は Android SDKを Unity Hubからインストールすれば良いのですが、それができなかった。

License Agreement時に「The server is currently unresponsible.」が出るのです。
Unity_Error_84

今回はこの解決法です。
続きを読む

【Unity】Unity: iOSでAdMobを使用時「GoogleMobileAds.h file not found」エラー

今回は Unityで開発した iOSアプリに AdMobを導入して、Xcodeビルド時に発生するエラーに関して。

エラー自体は以下のようなものです。
Unity_Error_80

‘GoogleMobileAds/GoogleMobileAds.h’ file not found

この解決法を説明していきます。

【解決法】
続きを読む

【Unity】UnityでAdMobを使用してiOSにビルド後、Xcodeでビルドするとエラー

今回も先日経験したエラーですが。
Unityにて開発中のゲームアプリに Google AdMobを組み込み iOS用にビルドし、その後 Xcodeでビルドする際に以下のようなエラーが。

今回はこのエラーの解決法を紹介いたします。
Unity_Error_77

ld: warning: directory not found for option '-L/Users/**/Library/Developer/Xcode/DerivedData/Unity-iPhone-akltwcojgfrgtkawzshdeyhnypyj/Build/Products/ReleaseForRunning-iphoneos/GoogleUtilities'

ld: warning: directory not found for option '-L/Users/**/Library/Developer/Xcode/DerivedData/Unity-iPhone-akltwcojgfrgtkawzshdeyhnypyj/Build/Products/ReleaseForRunning-iphoneos/nanopb'


ld: library not found for -lGoogleUtilities
clang: error: linker command failed with exit code 1 (use -v to see invocation)
続きを読む

【Unity】Unityのバージョンアップ時にGUITextのCS0619エラーが大量発生

Unity 2017以前のバージョンで開発したゲームアプリを最新のバージョンに変換時、大量にエラー「 'GUIText' is obsolete」が出てきました。

今回はその原因と解決法の紹介となります。
Unity_Error_74

Assets/Particle_Dissolve_Shader/Scripts/HUDFPS.cs(26,23): error CS0619: 'GUIText' is obsolete: 'GUIText has been removed. Use UI.Text instead.'
続きを読む
子供向けUnityプログラミング教室 こどもプロ
Unityプログラミングの基礎本 一覧
中高生向けIT資格試験対策講座 こどもプロ
自己紹介:志知淳一
脱初心者向け Unity基礎本
Game App from Lab7
GooglePlay_Top_2 (Android, iOS) GooglePlay_Top_2 (Android, iOS) GooglePlay_Top_2 (Android, iOS) GooglePlay_Top_2 (Windows) GooglePlay_Top_2 (Android, iOS)
Sponsored Link
Twitter プロフィール
《Unity、プログラミング教育、ARに関して》 Unityの書籍やテキストの執筆、出版。Unityを用いたプログラミング教室。Unityでのゲーム開発、ARアプリ・サービス開発。機械学習/AI。シンガポール12年在住
Lab7 blog in English
Blog Visitors [訪問者数]
  • 累計:

PV [アクセス数]
  • 累計:

Archive [アーカイブ]
Sponsored Link
Contact [お問い合わせ]
Twitter [最近のつぶやき]
Sponsored Link