agentleFS
hoatv2211hoatv2211/GameStudio-CodexKIT/skills/unity-client-offline-debugging/SKILL.md

unity-client-offline-debugging

Skill5 starsChanged 3 months agoMITView on GitHub

Use when a Unity client cannot enter offline gameplay because login, bootstrap, disconnected server handling, local mock data, network fallback, or scene startup paths fail.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when offline mode hangs, redirects to login, waits for a disconnected server, lacks mock data, fails bootstrap, or enters the wrong …

    line 35
  2. Distinctive:

    Do not use when the client enters offline mode but a widget, canvas, NGUI item, prefab, atlas, or draw order is wrong.

    line 38
  3. Distinctive:

    Read-only diagnosis first.

    line 44
  4. Distinctive:

    Do not assume “offline” means every network call is bypassed.

    line 65
  5. Distinctive:

    Do not fix UI rendering when startup never reaches the UI state.

    line 66
  6. Distinctive:

    Do not save scenes or prefabs during read-only diagnosis.

    line 67
  7. Distinctive:

    Read references/commands.md for offline flag precedence, bootstrap ordering, player-log paths, network timeout inspection, and the …

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Unity Client Offline Debugging

Overview

Trace offline startup from entry scene through configuration, authentication bypass, local data, network fallback, and gameplay scene activation without editing Unity assets first.

When to use

Use when offline mode hangs, redirects to login, waits for a disconnected server, lacks mock data, fails bootstrap, or enters the wrong scene.

When NOT to use

Do not use when the client enters offline mode but a widget, canvas, NGUI item, prefab, atlas, or draw order is wrong.

Required inputs and context discovery

Collect Unity version, entry scene, offline flag source, bootstrap components, login/network path, local data path, expected scene, logs, reproducible steps, and asset or scene no-touch rules.

Safety and risk level

Read-only diagnosis first. Do not open or save scenes/prefabs, regenerate project files, upgrade packages, or change serialization without explicit mutation scope and backup.

Workflow

  1. Reproduce the offline failure and capture the first divergent log or state. Completion criterion: expected and observed startup paths are documented.
  2. Trace how the offline flag is sourced and propagated through bootstrap. Completion criterion: the first missing or overwritten state is identified.
  3. Inspect authentication bypass, network timeout/fallback, and local mock data contracts. Completion criterion: offline dependencies are classified as present, missing, stale, or BLOCKED.
  4. Trace scene activation and required managers without saving Unity assets. Completion criterion: the failing code/data boundary is narrowed.
  5. Hand a minimal failing test or instrumentation plan to evidence-first-debugging. Completion criterion: no speculative asset edits occurred.

Evidence and output contract

Produce reproduction steps, Unity/version snapshot, log paths, bootstrap trace, offline flag source, dependency state, suspect paths, verdict, and next experiment.

Handoff contract

Record entry scene, expected scene, offline flag source, network behavior, local data dependencies, logs, asset no-touch paths, and the next discriminating check.

Pitfalls and anti-rationalization

  • Do not assume “offline” means every network call is bypassed.
  • Do not fix UI rendering when startup never reaches the UI state.
  • Do not save scenes or prefabs during read-only diagnosis.
  • Missing Unity Editor access is BLOCKED for live reproduction.

Verification checklist

  • Failure was reproduced or BLOCKED.
  • Offline flag propagation was traced.
  • Network and local data dependencies were separated.
  • Scene activation path was inspected.
  • No Unity asset was mutated during diagnosis.

References and scripts

Read references/commands.md for offline flag precedence, bootstrap ordering, player-log paths, network timeout inspection, and the startup-versus-UI boundary check. Use Unity logs, project bootstrap code, configuration sources, and project-local offline run guides. No generic script can replace project-specific startup tracing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.