検証環境 Unity 2022.1.23f1 Mono2x + Development Build ビルドの場合 Library\Bee\Android\Prj\Mono2x\Gradle\launcher\build\intermediates\instant_app_manifest\debug\AndroidManifest.xml IL2CPP + Development Build ビルドの場合 Library\Bee\Androi…
概要 Error building Player: A domain reload is pending. Unity エディタで Switch Platform した直後に iOS ビルドしようとしたら 上記のエラーが発生する現象に遭遇した 一度 Unity を再生してから iOS ビルドしたら正常にビルドできた
リポジトリ 使用例 Project Settings で「Is Enable」をオンにすると シーンの Dirty フラグが立った原因が Console ウィンドウに出力されるようになります
概要 public static float InverseLerp( float a, float b, float value ) { return ( value - a ) / ( b - a ); }
リポジトリ 準備 本パッケージを使用するためには Python のインストールと 以下の Python パッケージのインストールが必要です pip install librosa pip install soundfile 使用例 using Kogane; using UnityEditor; public static class Example { [MenuIt…
これまで using UnityEngine; public sealed class Example : MonoBehaviour { private void OnDrawGizmos() { Gizmos.DrawLine( new( 0, 0 ), new( 1, 0 ) ); Gizmos.DrawLine( new( 1, 0 ), new( 1, 1 ) ); Gizmos.DrawLine( new( 1, 1 ), new( 0, 1 ) ); …
概要 using System.Linq; using UnityEngine; public sealed class Example : MonoBehaviour { [SerializeField] private Sprite m_sprite; [SerializeField] private SpriteData m_spriteData; // ScriptableObject private void Start() { // スプライトに…
概要 BuildOptions.CleanBuildCache を使用した場合、 このフォルダ内のキャッシュが削除されてからビルドされる?
概要 using UnityEditor; public static class Example { [MenuItem( "Tools/Hoge" )] public static void Hoge() { EditorUserBuildSettings.androidCreateSymbols = AndroidCreateSymbols.Debugging; } }
概要 Debug.Log( FirebaseApp.DefaultInstance.Options.AppId ); FirebaseApp クラスが持つ Options.AppId を使用する
概要 Graphics device is null. TMPro.TextMeshProUGUI:Awake() Play Asset Delivery を使用している Unity プロジェクトで Android ビルドしたらアプリ実行時に上記のエラーが発生する現象に遭遇した もう一度ビルドし直したら発生しなくなった Play Asset …
概要 FirebaseCrashlytics libcrashlytics could not be loaded. This APK may not have been compiled for this device's architecture. NDK crashes will not be reported to Crashlytics: FirebaseCrashlytics dlopen failed : library "libcrashlytics.s…
はじめに 「Fast Script Reload」を Unity プロジェクトに導入することで Unity 再生中にスクリプトの変更を反映できる(ホットリロードできる)ようになります 使い方 導入時に上記のダイアログが表示されたら「OK」を押して Auto Refresh を無効にします …
概要 FirebaseAnalytics.LogEvent( "error", parameters ); 上記のようにイベント名に error を使用した場合、 いつまでたっても Analytics のダッシュボードに反映されない現象に遭遇した Debug View を使用してもイベントが送信できていなかった FirebaseA…
概要 Backend produced unparsable log entry g/XXXX.dll.mvfrm","enqueueingNodeIndex":20} Play Asset Delivery を使用して Android ビルドしたら 2 回目以降のビルド時に上記のエラーが発生して Unity の再生やビルドに失敗する現象に遭遇した Unity を再…