概要 GoogleService-Info.plist file missing REVERSED_CLIENT_ID, Google Sign-In will fail to initialize. Firebase 構成ファイル「GoogleService-Info.plist」を Unity プロジェクトに追加して iOS ビルドしたら上記のエラーが発生してビルドに失敗した…
概要 _makePurchase { "error": { "message": "The receipt is not valid. The purchased product was missing in the receipt. This is typically due to a bug in StoreKit.", "code": 8, "readableErrorCode": "INVALID_RECEIPT", "readable_error_code":…
概要 _receiveProducts { "error": { "code": 2, "message": "There was a problem with the store.", "readableErrorCode": "StoreProblemError", "readable_error_code": "StoreProblemError", "underlyingErrorMessage": "Failed to get user data. Make …
概要 _makePurchase { "error": { "code": 6, "message": "This product is already active for the user.", "readableErrorCode": "ProductAlreadyPurchasedError", "readable_error_code": "ProductAlreadyPurchasedError", "underlyingErrorMessage": "Er…
概要 _makePurchase { "error": { "code": 5, "message": "The product is not available for purchase.", "readableErrorCode": "ProductNotAvailableForPurchaseError", "readable_error_code": "ProductNotAvailableForPurchaseError", "underlyingErrorM…
概要 _makePurchase { "error": { "code": 2, "message": "There was a problem with the App Store.", "underlyingErrorMessage": "不明なエラーが起きました", "readableErrorCode": "STORE_PROBLEM", "userCancelled": false, "readable_error_code": "ST…
概要 "currencyCode": "USD" Apple のサンドボックス環境で RevenueCat を使用して課金の検証をした時に、 Product の currencyCode が JPY ではなく USD で送られてくる現象に遭遇した。 iOS 端末で SANDBOX アカウントでサインインしていないことが原因だ…
概要 Releasing render texture that is set as Camera.targetTexture! Camera で Render Texture を使用しているシーンから 他のシーンに遷移したら上記のエラーが発生する現象に遭遇した iPhone、Android では発生せず、iPad でのみこのエラーが発生する状…
ソースコード
概要 Screen.SetResolution で画面の解像度を変更した後に、元の解像度を取得したい場合は Display.main.systemWidth と Display.main.systemHeight を参照する 参考サイト様
ソースコード 参考サイト様
ソースコード
ソースコード
ソースコード 使用例 using Kogane; using UnityEngine; public class Example : MonoBehaviour { private void Update() { Debug.Log( $"日時を自動的に設定: {AndroidDeviceDateTimeChecker.IsAutoTime}" ); Debug.Log( $"タイムゾーンを自動的に設定: {An…
iOS Android