コガネブログ

平日更新を目標に Unity や C#、Visual Studio、ReSharper などのゲーム開発アレコレを書いていきます

【Firebase App Distribution】Failed to upload release. There's been an error processing your distribution. Ensure you are uploading a valid IPA or APK and try again.

概要 Failed to upload release. There's been an error processing your distribution. Ensure you are uploading a valid IPA or APK and try again. Additional information about this error: APK cannot be analyzed using aapt dump badging. Firebase…

【Firebase App Distribution】Error: This project is not linked to a Google Play account.

概要 Error: This project is not linked to a Google Play account. Firebase CLI で Firebase App Distribution に .aab をアップロードしようとしたら 上記のエラーが発生する現象に遭遇した。 .aab をアップロードする場合は Firebase プロジェクトと Go…

【Trello】画面下のバーを消す方法

概要 「uBlock Origin Lite」をブラウザに追加して Trello のページを開いた状態で「カスタムフィルターの作成」を押して 画面下のバーを選択して 「作成」を押すと、画面下のバーを消すことができる。

【Unity】Unity エディタで Scenes In Build に登録していないシーンを再読み込みする例

スクリプト var activeScene = SceneManager.GetActiveScene(); EditorSceneManager.LoadSceneInPlayMode ( path: activeScene.path, parameters: new LoadSceneParameters( LoadSceneMode.Single ) );

【Unity】Unity 6.3 の標準機能でメインツールバーをカスタマイズできるようになった

概要 上記のようなクラスを定義して、 メインツールバーを右クリックして定義した機能を選択することで メインツールバーに自作の機能を追加できる メインツールバーにデフォルトで表示されている機能を非表示にすることも可能。 各要素の作り方 ボタン ドロ…

【Unity】2 つの RectTransform が重なっているか確認するスクリプト

スクリプト

【Unity】Unity 6000.2 と 2022.3 の Android の AssetBundle の Load / Unload の速度の比較

検証結果 Unity AssetBundle の Load / Unload AssetBundle の Load / Unload とTexture2D の Load 6000.2 35.5 秒 92.4 秒 2022.3 34.1 秒 132.7 秒 プラットフォーム:Android Scripting Backend:IL2CPP Texture2D のサイズは 4096x4096 検証端末は Googl…

【Unity】Unity 6000 には iOS でサスペンドした時に UI が消える不具合がある

概要

【Unity】Unity Hub で組織を選択せずにプロジェクトを作成する方法

概要 Unity Hub でプロジェクトを作成する時は組織を選択する必要があるが、 オフラインなら組織を選択せずにプロジェクトを作成できる。

【Mac】円記号の入力をデフォルトでバックスラッシュにする方法

参考サイト様

【Unity】WARNING: The APKs won't be signed and thus not installable unless you also pass a keystore via the flag --ks. See the command help for more information.

概要 WARNING: The APKs won't be signed and thus not installable unless you also pass a keystore via the flag --ks. See the command help for more information. E/SplitApkInstallerBase: Failed to commit install session 481543160 with command …

【Unity】Failed to install CocoaPods for the current user.

はじめに Failed to install CocoaPods for the current user. It will not be possible to install Cocoapods in the generated Xcode project which will result in link errors when building your application. For more information see: https://guide…

【Unity】Smart Slicer 2D Pro で「NullReferenceException: Object reference not set to an instance of an object」

概要 using Slicer2D; using UnityEngine; using Utilities2D; internal sealed class SliceTest : MonoBehaviour { [SerializeField] private Vector2 m_start; [SerializeField] private Vector2 m_end; private void Start() { var slice = new Pair2D( m…

【Unity】firebase g_jvm != nullptr

概要 firebase g_jvm != nullptr g_jvm != nullptr UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:LogError(Object) Firebase.Platform.FirebaseLogger:LogMessage…

【Unity】Mac で EditorPrefs の内容を確認する方法

概要 ~/Library/Preferences/com.unity3d.UnityEditor5.x.plist EditorPrefs の内容は上記のファイルに保存されている。 defaults read com.unity3d.UnityEditor5.x > unity_prefs.txt open unity_prefs.txt 上記のコマンドで EditorPrefs の内容をテキスト…