tag

#setup

13 items (1 guide · 12 fixes)

guides
fixes
26.07.15a
"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.08e
"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.08e
"Getting set up: new project skeleton"

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

26.07.08e
"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.08e
"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.08e
"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.08e
"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.08e
"s&box project folder layout"

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

26.07.08e
"Scaffolded project missing global using System in Assembly.cs"

A freshly-scaffolded project's Assembly.cs can be missing global using System. Transplanted code using Math/MathF fails with CS0103.

26.07.08e
"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.08e
"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.08e
"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.

Want to know when new guides or fixes drop? Join the community to help build this out. Report gotchas, flag outdated fixes, or just lurk.

Join the Discord