コガネブログ

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

2023-01-31から1日間の記事一覧

【Unity】IDisposableAnalyzers を導入したらビルド時間が長くなった

概要 項目 ビルド時間 導入前 1 分 29 秒 導入後 2 分 43 秒 検証環境 Unity 2022.1.23f1 macOS Monterey バージョン 12.5.1 MacBook Pro 2021 Android Mono2x ビルド

【Unity】Caused by android.app.RemoteServiceException$CannotDeliverBroadcastException: can't deliver broadcast

概要 Caused by android.app.RemoteServiceException$CannotDeliverBroadcastException: can't deliver broadcast at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:1979) at android.app.ActivityThread.-$$Nest$mthrowRemo…

【Unity】InitializeOnEnterPlayMode と RuntimeInitializeOnLoadMethod の実行順

実行順 InitializeOnEnterPlayMode RuntimeInitializeLoadType.SubsystemRegistration RuntimeInitializeLoadType.AfterAssembliesLoaded RuntimeInitializeLoadType.BeforeSplashScreen RuntimeInitializeLoadType.BeforeSceneLoad RuntimeInitializeLoadTy…

【Unity】Android アプリ起動時の色を変える方法

概要 Project Settings の「Player > Static Splash Image」に単色の画像を設定して 「Scaling」を「Scale to fill (cropped)」にすることで Android アプリ起動時の色を変えることができる