2025-12-01から1ヶ月間の記事一覧
概要 NotSupportedException: Specified method is not supported. UnityEditor.Search.PropertyTable..ctor (System.String serializationUID, UnityEditor.Search.ITableView tableView) (at /Users/bokken/build/output/unity/unity/Modules/QuickSearch/…
ソースコード Setup メソッドで指定した位置に色を設定できる。 サイズが 128x128 以内ならIndexFormat.UInt16 にしても正常に動作する。 128x128 以上なら IndexFormat.UInt32 にしないと正常に描画されない。
リポジトリ
概要 Embedded package [XXXX] was found in the directory [YYYY]. Please consider changing the directory name to match the package name. Unity プロジェクトのバージョンを 2022.3 から 6000.0 にアップデートしたら 上記の警告が出力される現象に遭…
概要 Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details > Configure project :unityLibrary Variant 'debug', will keep symbols in binaries for: 'libunity.so' 'libil2cpp.so' 'libmain.so' Variant 'release'…
概要 // ==UserScript== // @name YouTube トップページのサムネイルのサイズを調整 // @description YouTube トップページのサムネイルのサイズを調整 // @version 0.1 // @match https://www.youtube.com/* // ==/UserScript== (function () { 'use strict…
ソースコード using System.Collections.Generic; using UnityEngine; namespace Kogane { public static class CircleCollider2DExtensionMethods { public static IReadOnlyList<CircleCollider2D> UpdateFromSprite ( this IReadOnlyList<CircleCollider2D> self, IReadOnlyList<Sprite> sprites ) { f</sprite></circlecollider2d></circlecollider2d>…
概要 端末 高さ×幅×厚み(mm) 重量(g) Google Pixel 9a 154.7×73.3×8.9 186.0 Google Pixel 8a 152.1×72.7×8.9 189.0 Google Pixel 7a 152.0×72.9×9.0 193.5 Google Pixel 6a 152.2×71.8×8.9 178.0 Galaxy S25 146.9×70.5×7.2 162.0 Galaxy S24 147.0×70.6×7.…
概要 /usr/local/bin/firebase: line 1: Not: command not found Firebase の CLI を最新版に更新したら上記のエラーが発生するようになった。 head -n 5 /usr/local/bin/firebase ターミナルで上記のコマンドを実行したら Not Found% と表示される状態だっ…
概要
概要 CommandInvokationFailure: Unable to retrieve device features information. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. /Applications/Unity/Hub/Editor/2022.3.…
概要 Windows には「ADB AppControl」というツールがあるが、 これと同等の機能を持つ Mac 用のアプリを調べていたところ 「Debloatfy」というアプリが使いやすかった。 Android 端末の開発者向けオプションを有効にして、 USB デバッグをオンにして Mac に…
概要 Android 端末の POCO F7 で開発中の Unity アプリのエージングテストを実行してみたら 妙に時間がかかる状態だった。 端末 テストにかかった時間 AnTuTu Benchmark のスコア POCO F7 1 時間 53 分 2179683 Pixel 6a 1 時間 12 分 941863 ベンチマークの…
概要 CommandInvokationFailure: Unable to query OpenGL version information. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. /Applications/Unity/Hub/Editor/2022.3.62f2…
概要 DeploymentOperationFailedException: Installation failed. See the Console for details. at UnityEditor.Android.AndroidDeploymentTargetsExtension.UploadAPK (UnityEditor.Android.AndroidBuildProperties buildProperties, UnityEditor.Android.…
ソースコード using System.Collections.Generic; using UnityEngine; namespace Kogane { public static class GradientExtensionMethods { public static Gradient GetSubGradient ( this Gradient self, float min, float max ) { min = Mathf.Clamp01( m…
概要 var gradient = new Gradient(); var colorKeys = new GradientColorKey[] { new( Color.red, 0 ), new( new Color( 1, 0.5f, 0 ), 0.16f ), new( Color.yellow, 0.33f ), new( Color.green, 0.5f ), new( Color.cyan, 0.66f ), new( Color.blue, 0.83f…
概要 Mac の Unity Hub 3.15.3 で「アカウントを切り替え」「サインアウト」を押しても 何も反応しない現象に遭遇した。 ~/Library/Application Support/UnityHub Unity Hub を終了してから上記のフォルダを削除して Unity Hub を開いたら別のアカウントでサ…
概要 Error building Player: Failed to find entry-points: System.Exception: Could not resolve assembly 'XXXX, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' referenced by the assembly 'YYYY, Version=0.0.0.0, Culture=neutral, PublicK…