Mixer’s source chips carry its logo, as MCB’s, My Avatar’s, ReFit’s and the Logger’s do.
19 more explanations: Unity’s “Bones do not match bindpose”, “Main Object Name … does not match filename”, XR Plug-in Management’s package list timeout, native leak detection, the test framework’s IgnoreFailingMessages, and C#‘s reference comparison warnings (CS0252, CS0253); ReFit’s body shrink, kept fits and cache clean-up at upload; Mixer’s commit saved to a new file and Orbiters desktop splats that could not be imported; MCB’s version switch undone past the files it keeps (or files it could not put back), its kept copies of changed files and its Blender export clean-up; My Avatar’s menu clean-up, optimization summary and accessory names.
Sources: Mixer is known (orbiters.mixer); the avatar gizmos, now part of Orbiters Toolkit, are no longer a source of their own.
Explanations for Mixer’s messages: an autosave or a mesh’s vertex groups that could not be read, the Mixer Hierarchy unable to take Unity’s place, the Blender link’s port refused, a renderer’s own mesh put back after an Undo.
Sources: Mixer’s and ReFit’s messages are theirs when the stack trace has no source file (by their namespace), MCB’s by its classes’ MCB prefix, and a [Mixer] message without a stack trace is Mixer’s (they went to Unity or Project).
Explanations: an entry can say when its text last changed (updated); the Orbiters server’s copy of it replaces the Logger’s own only when it is as new. A server not yet given a release’s texts no longer brings back older advice after a download (the avatar gizmos’ and ReFit’s skipped checks named XRay Gizmos again, and the temporary memory notices lost the “Script reloads by package” cause).
Get help: the README’s “Known:” lines are masked like their message (their names and paths came from the unmasked log).
Explanation cards show their texts as written: a name with rich text tags (<size=0>, <color>) no longer hides or restyles them, and a name holding {…} is no longer filled in. Learn more opens web pages only (https, or http on this computer).
An explanation whose pattern keeps timing out is given up after three tries, instead of stalling the window on every message it is tried on.
Sources: a class is MCB’s when MCB is followed by a capital (MCBEditor, MCBUtils): MCBuildHelper or MCBridge no longer are.
Explanations: ReFit’s kept fits, MCB’s kept copies and Mixer’s commits to a new file fill in names with parentheses or apostrophes (“Hoodie (1)”); IgnoreFailingMessages’ title says what the test set; ReFit’s body shrink no longer says it is on when the clothing starts hidden; Mixer’s autosave read failure no longer explains its write failures.
.partial and renamed once complete: a cancel, a failure or a script reload never leaves a cut
zip. Ask again writes a new zip and swaps it in. Free space is checked first.EnableDomainReloadTimings diagnostic switch by default: in Unity
2022.3 it leaks about 100 KB of the editor’s temporary memory at every reload, and Unity then reports the leak on
every editor tick (tens of thousands of “Allocation of 49 bytes at…” lines, gigabytes of Editor.log). Reloads are
still measured, step by step, from Unity’s basic reload profile; the new “Script reloads by package” setting turns
the switch back on for the per-package split.git log output) show them as ”·”: Unity’s
font has no glyph for them and warned at every redraw.EnableDomainReloadTimings diagnostic switch is turned on for that, and its console notice about
it hidden); builds and Play Mode time each tool’s VRChat SDK build step. Each can be turned off in the settings.Editor/Knowledge/explanations.json and kept up to date from the Orbiters server between
releases (members signed in through Orbiters Toolkit also get the entries for members). Entries have a priority, so a
tool’s catch-all never hides a specific explanation.TimelineMarkers.Set.LogExplanations.Register.Unity 2022.3. No dependency: the Logger keeps working when other packages don’t compile.
Install Logger from the Orbiters VPM repository, then open Tools › Orbiters › Logger (Ctrl+Alt+L). From the next start of Unity it takes the Console’s place in your layout, and Window › General › Console (Ctrl+Shift+C) opens it (Replace console in its top bar turns that off). It shows everything logged since Unity started, including what was logged before it was installed.
MCBLogger.Log). A
bulb means the Logger knows this message; a target means it is about an object in the scene.UnityEngine.Debug:Log folded away), the explanation, and how often the message happens: a chart over
the session, the count, first and last time, peak per second and average interval. Select several logs to see a
summary and copy them together.| Keys | Action |
|---|---|
| ↑ ↓, Page Up/Down, Home/End | Move; with Shift, select a range |
| Ctrl+click, Shift+click | Add to the selection, select a range |
| Ctrl+A | Select every shown log |
| Ctrl+C / Ctrl+Shift+C | Copy the text / the text with stack traces |
| Enter, double-click | Open the source file at the line |
| F3 / Shift+F3 | Next / previous error |
| Delete | Hide messages like the selected ones |
| Ctrl+F | Search |
| Ctrl+L | Clear |
| Escape | Clear the selection, then the time range |
Right-click a log for the same actions plus “Show only / Hide” its source and “Search for this text”. Hidden messages are listed (and shown again) from the chip in the list header.
The sliders button opens the settings:
Clear (Ctrl+L) empties the Logger and Unity’s console. Compile errors that still stand stay, as in Unity. Clearing Unity’s console from its own window doesn’t clear the Logger.
Each script reload, entry into Play Mode and avatar build or upload becomes a log under the Timings source: “Script reload took 6.6 s”, “Entered Play Mode in 9.1 s”, “Built and uploaded Rexouium in 2 min 13 s”. Its row shows the time as a stacked bar, one colour per package (the engine’s part in grey at the end), scaled to the slowest of its kind so rows compare at a glance. The details show the total, how it compares with the usual time, each package’s share (click one for its parts: which startup method, which build step) and the same kind of timing over the session as stacked columns: when a package suddenly costs more, it shows. The timeline has a lane with one mark per timing, stacked by package; click a mark to show its log.
EnableDomainReloadTimings diagnostic switch on (the Logger turns it on only while “Script reloads by package” is on,
and back off when you turn it off; in Unity 2022.3 the switch leaks temporary memory at every reload) the tree lists every type and method that runs on load, every before/after-reload callback
and every window restored; the Logger reads it back on a worker thread and gives each entry to the package its code
belongs to. Unity’s console notice about the switch is hidden while it is the only one on.Orbiters.Logger.Editor.VRChat assembly): from
Build & Publish or Build & Test to the end of the upload. A probe sits in front of each group of build steps in the
SDK’s list, so each tool’s step (VRCFury, MCB, My Avatar, ReFit, Orbiters Toolkit, the SDK’s own…) is timed without
touching it, then the asset bundle and the upload. The asset bundle is split too: Unity times every callback it runs,
so each asset postprocessor that ran during it (TextMesh Pro’s, Poiyomi’s…) gets its time and package; the lines
Unity times itself in Editor.log give the script compilation for the build, the asset imports for the build target
and the bundle’s size; the rest is shader compilation, writing and compressing the bundle.For a message that keeps coming back, the details show Appearing since: the commit the project was at when it was
first seen, its subject, when that was and how many commits ago. First and last appearances are kept per message in
Library/Orbiters/Logger/ledger.bin (across editor sessions and clears, up to 100,000 messages); the commit comes
from Git’s own history of HEAD (.git/logs/HEAD), so no Git process runs. Click the hash to copy it.
Get help in the top bar (or the lifebuoy on a log’s details, which starts the note with that log, or Tools › Orbiters › Get Help) opens a window that packs what a helper needs into one zip. Each part is a card; a press turns it on or off, and the choice is remembered:
POST logger/diagnosis. It sends the note, the project name, Unity version, platform, system, render pipeline and package
list, and only from the parts that are on: the 40 most important distinct messages (compile errors first, then the
most frequent errors, warnings and the latest logs) with the top of their stack traces (Logs), the Git branch, the
number of changed files and the last 15 commit subjects (Git history), and the scene names, object counts and up to
40 top-level object names (Scene description). Never files. The answer is a headline, a summary and up to five likely
causes with steps, shown as plain text and escaped in the Markdown files. It runs while the scene is exported; when
it fails, Ask again in the result (after connecting if needed) writes the answer into the file.logs/logs.txt (every log, oldest first), logs/messages.txt (every distinct message with its count,
first and last time and stack trace) and the last 32 MB of Unity’s Editor.log and Editor-prev.log (the previous
session, which may be another project). Unity’s logs hold the Windows user name, computer name, Unity machine id,
license serial and project paths..unitypackage (unsaved changes are not in it;
the card says so, and how big it will be). It holds those files as they are, purchased avatars, shaders and tools
included: the window says to send it only to people you trust, never in a public channel.Anonymize (under Privacy, off by default, remembered) also masks the Windows user name (with its 8.3 short and
address spellings), computer name, machine and session ids, license serials, emails, Git authors (commits are listed
without them), remote addresses, avatar and blueprint ids and paths outside the project, in every text of the report
and in the AI request; the project folder becomes %PROJECT%, other folders [path]. Release pictures and the scene
export can’t be anonymized, so they are left out (the cards say so). It hides clues too: the window warns that the
problem may be harder to find.
Always masked, anonymized or not, before any text is cut: Orbiters, Git hosting and API tokens, Authorization
headers (Bearer, Basic, token), secrets in addresses (access_token=, key=, apiKey=…), JSON and settings values
named like secrets ("token", "password"…), cookies, Discord webhooks, JSON web tokens, passwords in addresses
(JSON-escaped ones too) and store license keys; the user folder becomes %USERPROFILE% in every spelling. Pictures
and the scene export are copied as they are.
The project’s Unity version, platform, system, package list and manifests are always included, and README.md at the
top of the zip sums it all up: the note, the project, the diagnosis, the messages that matter most, what was left out,
what each file holds and what was masked. The zip is written as ….zip.partial beside its final name and renamed once
complete, after checking there is room for it: a cancel or a script reload (which stops the report; the window says so
after it) leaves nothing behind. Git runs read-only (no optional locks, no password prompts, stopped with what it
started at its timeout) from its installed location, never from the project folder. Copy a message to send puts a
short summary on the clipboard, escaped so nothing in it becomes a link or a mention.
Off by default: turn on Undo history timeline in the settings. A strip under the activity chart shows Unity’s undo steps (Edit › Undo History) like a video’s progress bar: one tick per step (selections smaller), the part already done filled, the playhead where the project is. Hover a step for a snapshot of the Scene view right after it, its name and when it happened (its moment is also marked on the activity chart). Click or drag to go there: the Logger undoes or redoes one step at a time until the project is as it was right after that step. Scroll over the strip for one step back or forward. A step’s snapshot is taken once the change is done: nothing recorded for 0.4 s and no drag going on. It is read from the Scene view window’s own framebuffer when it is the visible tab (no extra render), or rendered by its camera when another tab hides it, scaled down on the GPU and kept as a small JPEG (the last 600).
Application.logMessageReceivedThreaded queues each log with its time from any thread; the main
thread files them a few milliseconds per editor update. Identical texts are stored once, so a message repeated a
million times costs one string and 16 bytes per occurrence.UnityEditor.LogEntries, through compiled delegates): the first two lines and timestamp of each row, the full
entry once per distinct message. Up to 20,000 rows are read at once; more are read a slice per editor update with
progress in the toolbar, and appear when done. A step behind the live capture, each new console row is matched to
its log: that adds the object a log is about and the file of engine errors, and any row the Logger never received
live is added, so nothing Unity shows is missing.Library/Orbiters/Logger/session.bin (columns as
raw arrays: a million logs in tens of milliseconds) and read back after it, with what Unity logged in between. The
file belongs to the editor process; it is deleted when Unity quits.When Unit Git 0.2 or newer is installed, an extra assembly (Orbiters.Logger.Editor.UnitGit, compiled only then)
puts the project’s history on the timeline: Unit Git releases from its release catalog, and commits from git log
(the last 30 days, read on a worker thread). Only what happened inside the logged time shows. It refreshes when Unit
Git records something and every minute while a Logger window is open.
Other tools can add their own markers:
TimelineMarkers.Set("mytool", new[] { new TimelineMarker(DateTime.UtcNow, TimelineMarkerKind.Note, "Avatar uploaded") });
using Orbiters.Logger.Editor;
[UnityEditor.InitializeOnLoad]
static class MyToolExplanations
{
static MyToolExplanations()
{
LogExplanations.Register(new LogExplanation("mytool.no-avatar", "[MyTool] No avatar", "No avatar selected")
{
Source = "My Tool",
Severity = LogExplanationSeverity.Warning,
Summary = "My Tool needs an avatar with a VRC Avatar Descriptor.",
Fixes = new[] { "Select the avatar root in the Hierarchy.", "Click Refresh in My Tool." },
StackNeedle = null, // text the stack trace must contain, for messages shared with other tools
Pattern = null // a regular expression; named groups fill {name} placeholders
});
}
}
Registered explanations are tried before the built-in ones. Reference the Orbiters.Logger.Editor assembly through
a version define so your tool still compiles without the Logger.
The Logger’s own explanations are in Editor/Knowledge/explanations.json ({ "explanations": [ … ] }), one object per
entry: id, needle (text the message must contain, checked first), optional pattern (.NET regex with named
groups for {name} placeholders), stackNeedle, levels (error, warning, log), priority (catch-alls use
negative values), severity (harmless, info, warning, problem, blocking), source, title, summary,
fixes, link, linkLabel, and updated (yyyy-MM-dd, when the entry’s text last changed). Entries tied to a stack
trace are tried first, then by priority, then in file order.
The same list lives on the Orbiters server (GET /logger/explanations, with If-None-Match), where it is updated
between releases: the Logger asks for it every six hours, keeps the last answer per user in
%LOCALAPPDATA%/Orbiters/Logger/, and server entries replace local ones with the same id, unless the local one’s
updated is later (a server entry without it is older than a dated local one). With Orbiters Toolkit
installed (optional Orbiters.Logger.Editor.Toolkit assembly), it asks the server Orbiters tools use, as the
signed-in member.
orbiters.logger
未設定
0.2.7
2022.3 以降
なし
なし
なし
LicenseRef-Orbiters-Proprietary