s&box/field-guide
tag

#setup

12 items (1 guide · 11 fixes)

guides
fixes
26.07
"Assembly.cs global usings as project bootstrap"

global using Sandbox + your razor namespace in Assembly.cs — without it, panels and game types don't resolve across the assembly.

26.07
"First successful Play: what to verify after the skeleton"

Folders → sbproj → Assembly.cs → 4-object scene → green dotnet build → tagged logs on Play — then optional art tools.

26.07
"Getting set up: new project skeleton"

.sbproj + Assets/Code/ProjectSettings/tools layout, 4-object scene + Bootstrap, dotnet build before anything else.

26.07
"Input.config and AnalogMove for a new game"

WASD as Forward/Backward/Left/Right feeds AnalogMove; new Input.config actions need an editor restart — dotnet build is not enough.

26.07
"Keep PackageReferences clean from day one"

Standalone export hangs if PackageReferences still need sbox.game to resolve — don't accumulate cloud package deps casually.

26.07
"Minimal scene: Sun, Skybox, Camera, Bootstrap"

Scene holds four GameObjects; Bootstrap OnStart builds the world in code — hotloads better, no scene/code drift.

26.07
"Pick org and ident early for sbox.game"

Ident is org.package — two lowercase segments; keep Org local until real; never put TODO placeholders in Org or the editor won't boot.

26.07
"s&box project folder layout"

Assets / Code / Editor / ProjectSettings / tools — the template every project follows.

26.07
"Stalled Steam update half-deletes the s&box install"

If sbox-launcher.exe stays open during a Steam update, files vanish mid-install — validate via steam://validate/590830.

26.07
"Title / Ident / StartupScene fields that bite new projects"

StartupScene is what Play loads; Org must be a valid lowercase ident — placeholders break editor bootstrap, not just publishing.

26.07
"What hotload does (and doesn't) for a new project"

C# hotloads on alt-tab in ms; scene changes and new Input.config actions need Play/editor restart; failed compile keeps the last-good assembly.