scenario-unity-architecture

Featured

Use when structuring Unity 6.3 C# code: ScriptableObject data vs runtime state, events and services, inventory, health, save and load, Input System actions and key rebinding, async with Awaitable, assembly definitions, Enter Play Mode and domain reload, .meta files, Git, Smart Merge and LFS. Also when 'my save works in the Editor but not in the build', statics keep values on the second Play, events fire twice or never, an await runs after its object died, rebinds are lost on relaunch, a renamed class loses its data, a scene merge breaks.

AI & Automation 536 stars 67 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
91
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Unity architecture (gameplay programmer / architect) Expert architecture in Unity is judged by what survives the edges: the second Play session, a destroyed object mid-await, a relaunch of the built player, a class rename, a merge of two branches, a prefab dropped into an empty scene. Data lives in assets, state lives in plain C# and files, systems talk through events they do not own, and every claim is pinned by a test the agent can run without a mouse. Target: Unity 6000.3.21f1, Input System 1.20.0, Test Framework 1.6.0, macOS. If a sibling skill named here is missing from your available skills, ask the user to install it (`npx skills add scenario-labs/skills --skill <name>`); unattended, proceed from tool schemas and flag the gap. **REQUIRED BACKGROUND:** scenario-unity-expert (channels, review loop, 6.3 traps). Toolkit: `ut_env`, `ut_run`, `ut_live` plus this skill's [`scripts/ut_arch.py`](scripts/ut_arch.py), [`scripts/AgentKit/Architecture/`](scripts/AgentKit/Architecture/) jobs and [`scripts/templates/`](scripts/templates/) (a tested Game.Core / Game.Runtime / Game.Editor / tests layout). **Status (2026-09-24):** every procedure ran in Unity 6000.3.21f1 on this Mac: `tests/code/unity-architecture/run_all.sh --live` (results in `archive/tests/unity-architecture/live_results.jsonl`). ## Stance (the expert delta) 1. **ScriptableObjects are definitions, never saves.** Play-mode writes to an SO persist in the Editor and reset on every launch of a build (Code Monkey, ...

Details

Author
scenario-labs
Repository
scenario-labs/skills
Created
1 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

scenario-unity-expert

Use when an agent drives Unity 6.3 (6000.3) on a Mac for any task: batch mode and -executeMethod jobs, a running editor (the user's GUI editor or a headless one), the Unity CLI and com.unity.pipeline, MCP servers, the Test Framework, command-line builds; when a batch run fails silently, 'Scripts have compiler errors', a capture comes back black or pink, or a result must be proven with numbers and a frame; or when a Unity brief must go to the right scenario-unity-* specialist.

536 Updated today
scenario-labs
AI & Automation Featured

scenario-unity-pipeline-automation

Use when automating a Unity 6.3 content pipeline or build: importing an art drop (FBX, PNG) with AssetPostprocessor rules and naming conventions, generating prefabs or editing scenes from script with correct Undo and SetDirty, Addressables groups, labels and content builds, content-validation tests, batch-mode, command-line or CI builds (Build Profiles, GameCI, GitHub Actions, Accelerator), editor tools; or when textures import wrong or reimport every run, a scripted edit vanishes, bundles duplicate assets, a batch build ignores its defines, or CI cannot activate Unity.

536 Updated today
scenario-labs
AI & Automation Listed

unity-architect

Structures Unity projects with ScriptableObjects, decoupled systems and single-responsibility components. Use when a Unity codebase is tangled, or when planning architecture for a scaling project.

4 Updated 2 weeks ago
prvthmpcypher