概要 Error: Burst internal compiler error: System.IO.FileNotFoundException: Could not find file "/UnityProject/Library/BurstCache/iOS-Arm/Objects/1adf46aae6cb8ca41f6e7951f74842d5.bc" File name: '/UnityProject/Library/BurstCache/iOS-Arm/Obj…
ソースコード from PIL import Image import os # トリミングする元の画像フォルダー input_folder = "input_folder" # トリミングした画像を保存するフォルダー output_folder = "output_folder" # 元のフォルダー内の全ての.pngファイルを取得 file_list =…
概要 adb shell screenrecord --bugreport /data/local/tmp/screenrecord.mp4 を実行する Ctrl + C で終了する adb pull /data/local/tmp/screenrecord.mp4 で取り出す
概要 adb logcat -c を実行する adb logcat -c をもう一度実行する 最初の実行ではログがクリアされないことがあるため adb logcat > capture.logcat.txt を実行する Ctrl + C で終了する
概要 FirebaseFirestore.LogLevel = LogLevel.Debug; 上記の処理を呼び出す(デフォルト値は LogLevel.Info) 参考サイト様
概要 Google Play から 「CPU-Z」をインストールする 「CPU-Z」を起動して「SYSTEM > Kernel Architecture」を見る
はじめに Firebase を使用している Unity プロジェクトを 定期的に Jenkins で Android ビルドしていたら いつからかビルド時間が 3 倍以上に伸びている現象に遭遇した ログを見てみたら GooglePlayServices.CommandLineDialog must be instantiated using t…
ソースコード var elementType = type.GetGenericArguments()[ 0 ]; 参考サイト様
ソースコード var isList = type.IsGenericType && type.GetGenericTypeDefinition() == typeof( List<> ); 参考サイト様
ソースコード var isList = type.IsGenericType && type.GetGenericTypeDefinition() == typeof( List<> ); var elementType = isList ? type.GetGenericArguments()[ 0 ] : type.GetElementType(); 参考サイト様
概要 setAccountInfo REST API を使用してメール / パスワード プロバイダを既存のユーザー アカウントにリンクできなくなります。linkWithCredential クライアント SDK メソッドと EmailAuthCredential は、どのプラットフォームでも使用できなくなります。…
概要 pipeline { stages { stage('Git') { steps { git branch:'xxxx' url: 'git@github.yyyy/zzzz.git' } } } } 上記のようなコードを実行したらタイムアウトでビルドに失敗する現象に遭遇した pipeline { stages { stage('Git') { steps { checkout scmGit…
概要 Mac の Unity 2022.3.16f1 の Scene ビュー上でマウスのミドルクリックをした時に Scene ビューがフォーカスされない現象に遭遇した Scene/Game View: Fixed an issue where clicking on the SceneView with the middle mouse button would not focus i…
概要 最近開いたプロジェクトの一覧をクリアしたい場合は C:\Users\【ユーザー名】\AppData\Roaming\JetBrains\Rider【バージョン】\options\recentSolutions.xml 上記のファイルを削除するか、 ファイルを開いて不要なプロジェクトの項目を削除して保存する…
概要 MessagingUnityPlayerActivity.onCreate java.lang.NoSuchMethodException - com.unity3d.player.x.<init> [] com.google.firebase MessagingUnityPlayerActivity.java:80 Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentI</init>…
概要 「設定 | エディター | 一般 | エディタータブ」を開いて 「変更があればマークする」をオンにする
概要 ジョブの設定 ステータス ビルドボタン Last/Current Build Console Output ジョブの説明 コンパクトカラム: ステータス(オプション付き) ビルド所要時間 次のビルド時刻
概要 Unity 2022.3.16f1 で iOS ビルドしてアプリを起動したら 起動後に黒い画面が一瞬表示される現象に遭遇した Issue Tracker に起票されており、 Fixed by another internal issue: UUM-52515: After 2021.3.24 some early tasks in lifecycle are having…
概要 unable to read input file '/Users/【ユーザー名】/Library/MobileDevice/Provisioning Profiles/XXXX.mobileprovision': fopen(/Users/【ユーザー名】/Library/MobileDevice/Provisioning Profiles/XXXX.mobileprovision, rb): No such file or direc…
概要 https://trello.com/u/【ユーザー名】/labs 上記の URL を開いて 「WYSIWYG 編集」をオフにして Trello を開き直す
ソースコード using System; using System.Collections.Generic; using Cysharp.Threading.Tasks; namespace Kogane { /// <summary> /// 非同期の Pub / Sub パターン /// </summary> public static class AsyncMessageBroker { //===========================================…
ソースコード using System; using System.Collections.Generic; namespace Kogane { /// <summary> /// Pub / Sub パターン /// </summary> public static class MessageBroker { //================================================================================ // 変数…
概要 using UnityEditor; internal static class Example { [MenuItem( "Tools/C" )] private static void C() { } [MenuItem( "Tools/B" )] private static void B() { } [MenuItem( "Tools/A" )] private static void A() { } } 例えば上記のように priori…
概要 プロジェクトで使用している Unity のバージョンを 2022.1.23f1 から 2022.3.16f1 にアップデートした時にやったこと 目次 概要 目次 com.unity.search.extensions の入れ直し Firebase パッケージの更新 link.xml の作成 MenuItem の priority の指定 …
概要 Firebase を使用している Unity プロジェクトの Unity バージョンを 2022.1.23f1 から 2022.3.16f1 にアップデートして Android ビルドしたら アプリが起動直後に強制終了するようになった Android Logcat でログを見てみたら java.lang.NoSuchMethodEr…
概要 Unity A scripted object (probably XXXX?) has a different serialization layout when loading. (Read YY bytes but expected ZZ bytes) Unity Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts? Unity …
概要 Assembly-CSharp.csproj に入っている 1 つの .cs をそのまま編集した時と Auto Referenced がオフの .asmdef に入れてから編集した時の コンパイル時間を比較したのでメモ 項目 コンパイル時間 Assembly-CSharp.csproj 2 秒 Auto Referenced がオフの …
概要 transform: translateY(1px); 1px だけズラすことで隙間を無くすことができる 参考サイト様
概要 WordPress 6.x では「外観」ではなく「ツール」の中にある 関連記事
リポジトリ 使用例 Before After Polygon Collider 2D の頂点数を減らしたい場合は 「Polygon Collider Optimizer」を使用する