tag

#publishing

12 items (1 guide · 11 fixes)

guides
fixes
26.08.05
"#if DEBUG in a .razor file is always false: dev panels leak into release"

A #if DEBUG guard inside a .razor component is always false in every configuration, so it strips nothing, and the razor source plus any sibling .scss ship into the uploaded package as readable text regardless. Build anything that must be absent from a release as a plain .cs class.

26.07.08e
"A pre-publish checklist for sbox.game"

Org/ident rules, every store-page field is launch-blocking, AI thumbnails demoted: verify as a player after publish.

26.07.08e
"Cloud assets fail silently under backend load after publish"

Published game boots with error.vmdl placeholders; engine may rewrite prefab refs, no auto-retry; restart editor + republish.

26.07.08e
"dotnet build verifies compile but NOT the whitelist"

Headless dotnet build is green while the in-editor compiler emits SB1000: Environment/IO/Process/reflection are banned in game code.

26.07.08e
"It worked in the editor but broke after publishing"

Whitelist divergence, loose Resource Files, and silent cloud-asset failures after publish.

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
"Loose resource files don't auto-publish"

PNG/WAV/MP3/JSON must be listed in Project Settings → Resource Files without an assets/ prefix: #1 editor-vs-publish break.

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
"Standalone Steam export"

Preview as of 2026-07: Valve approval + Facepunch license; full .NET, lose platform services; clean PackageReferences or startup hangs.

26.07.08e
"Understanding the Play Fund"

No paid storefront: revenue is clamped player-hours from a daily pool; retention is the monetization feature.

26.07.08e
"Wiring Sandbox.Services"

Stats.Increment/SetValue, Leaderboards.GetFromStat, Achievements.Unlock: cheap platform polish; total achievement score capped at 1000.

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