unity-ui-rendering-debugging
Skill5 starsChanged 3 months agoMITView on GitHub
Use when a Unity UI, HUD, screen item, or NGUI widget is missing, clipped, behind another canvas, wrongly sorted, disconnected from a prefab or atlas, misanchored, or invisible despite correct gameplay state.
In this repository53 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codexkit-repository-maintenanceSkill
- animation-rigging-import-auditSkill
- art-asset-pipeline-preflightSkill
- audio-content-pipeline-reviewSkill
- balance-data-change-reviewSkill
- bug-hunt-swarmSkill
- build-and-runtime-verificationSkill
- code-intelligence-contractSkill
- cpp-server-crash-triageSkill
- economy-source-sink-modelSkill
- evidence-first-debuggingSkill
- feature-to-work-packetsSkill
- game-database-migration-safetySkill
- game-feature-brainstormingSkill
- game-feature-to-specSkill
- game-performance-budgetSkill
- game-screenshot-showcase-and-store-packagingSkill
- level-and-content-design-reviewSkill
- liveops-content-rollout-and-rollbackSkill
- liveops-incident-responseSkill
- load-soak-capacity-verificationSkill
- localization-authority-auditSkill
- lua-client-server-contract-auditSkill
- mmorpg-packet-protocol-reviewSkill
- multi-service-local-environment-doctorSkill
- narrative-quest-content-contractSkill
- network-authority-and-exploit-reviewSkill
- platform-device-compatibility-matrixSkill
- playtest-evidenceSkill
- product-analytics-experiment-reviewSkill
- production-risk-and-dependency-reviewSkill
- qa-test-strategy-and-coverageSkill
- release-candidate-preflightSkill
- review-swarmSkill
- safe-project-mutationSkill
- save-data-schema-migrationSkill
- skill-authoring-and-auditSkill
- store-submission-checklistSkill
- studio-agent-orchestrationSkill
- studio-context-briefSkill
- studio-goal-progressSkill
- studio-handoffSkill
- studio-production-planningSkill
- studio-project-intakeSkill
- studio-project-scaffoldSkill
- studio-workspace-routingSkill
- telemetry-event-contract-reviewSkill
- unity-asset-guid-meta-auditSkill
- unity-batchmode-build-verificationSkill
- unity-client-offline-debuggingSkill
- unity-ui-art-and-motion-productionSkill
- using-game-studio-skillsSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 35
Use when a known UI state should render but a widget, item, canvas, prefab, atlas sprite, anchor, mask, or sorting layer is wrong or …
- Distinctive: line 38
Do not use when the Unity client never reaches the offline/gameplay state, login/bootstrap fails, or network fallback is the primary …
- Distinctive: line 44
Read-only diagnosis first.
- Distinctive: line 65
Do not blame draw order before proving the object exists and is active.
- Distinctive: line 66
Do not reimport or resave assets as a diagnostic shortcut.
- Very specific: line 67
Do not change .meta or GUID files outside exact scope.
- Distinctive: line 78
Read references/commands.md for stack detection markers, serialized-value inspection, runtime probes, camera culling checks, and the …
≈ “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.
Files
Unity UI Rendering Debugging
Overview
Separate data/state problems from hierarchy, activation, geometry, clipping, material, atlas, camera, canvas, and NGUI depth problems before editing assets.
When to use
Use when a known UI state should render but a widget, item, canvas, prefab, atlas sprite, anchor, mask, or sorting layer is wrong or invisible.
When NOT to use
Do not use when the Unity client never reaches the offline/gameplay state, login/bootstrap fails, or network fallback is the primary symptom.
Required inputs and context discovery
Collect Unity and UI framework versions, hierarchy path, prefab source, expected data/state, activation state, canvas/camera, layer, sorting order or NGUI depth, clipping/mask chain, material/atlas, anchors, and no-touch asset rules.
Safety and risk level
Read-only diagnosis first. Do not save scenes or prefabs, reimport assets, change GUID/meta files, upgrade UI packages, or batch-reserialize without scoped mutation and backup.
Workflow
- Prove the underlying data and state say the item should exist. Completion criterion: rendering is isolated from business logic or routed elsewhere.
- Trace hierarchy presence, active state, scale, position, and parent clipping. Completion criterion: the first invisible transform or activation condition is identified.
- Inspect canvas/camera/layer/sorting or NGUI panel and widget depth. Completion criterion: render-order conflicts are supported by values, not screenshots alone.
- Inspect prefab links, materials, atlases, sprite names, masks, and anchors. Completion criterion: missing or stale asset references are named with paths.
- Define the smallest reversible change and verification scene or fixture.
Completion criterion: any asset edit routes through
safe-project-mutation.
Evidence and output contract
Produce hierarchy path, state proof, render-order values, clipping chain, prefab/material/atlas references, suspect cause, proposed minimal change, and verification plan.
Handoff contract
Record scene/prefab paths, hierarchy, framework version, expected state, inspected render values, asset references, no-touch paths, and the next reversible experiment.
Pitfalls and anti-rationalization
- Do not blame draw order before proving the object exists and is active.
- Do not reimport or resave assets as a diagnostic shortcut.
- Do not change
.metaor GUID files outside exact scope. - Missing Unity Editor access is BLOCKED for visual confirmation.
Verification checklist
- Data/state and rendering were separated.
- Hierarchy and activation were inspected.
- Canvas/NGUI order and clipping were measured.
- Prefab/material/atlas references were checked.
- Any proposed edit is reversible and scoped.
References and scripts
Read references/commands.md for stack detection markers, serialized-value inspection, runtime probes, camera culling checks, and the diagnostic order that avoids false draw-order root causes. Use project scenes, prefabs, UI framework docs already vendored in the project, and Unity logs. Avoid package upgrades during diagnosis.
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
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.

