コガネブログ

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

2025-10-01から1ヶ月間の記事一覧

【C#】.Replace( "\\", "/" ) よりも .Replace( '\\', '/' ) の方が速い

検証結果 検証用スクリプト using UnityEngine; using UnityEngine.Profiling; public class Example : MonoBehaviour { private void Update() { const string path = "Assets\\material.mat"; const int count = 100000; Profiler.BeginSample( "\"" ); fo…

【C#】Path.ChangeExtension でファイルパスから拡張子を取り除ける

概要 const string path = "Assets/material.mat"; var result = Path.ChangeExtension( path, null ); // Assets/material null ではなく string.Empty を渡すと Assets/material. のように 末尾に . が残ってしまうので注意。

【Unity】Split Application Binary を有効にしてビルドした App Bundle を端末にインストールするスクリプト

ソースコード 関連記事

【Unity】Android モジュールに含まれている bundletool-all-*.jar のパスを取得するスクリプト

ソースコード

【Unity】App Bundle size warning

概要 App Bundle size warning Your release App Bundle is bigger than 200 MB. Do you want to compute the min and max download sizes of APKs generated from your App Bundle? You can turn off this warning or adjust threshold value in Android Pl…

【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 のページを開いた状態で「カスタムフィルターの作成」を押して 画面下のバーを選択して 「作成」を押すと、画面下のバーを消すことができる。