Troubleshooting

Use this guide when PompoEngine fails to load a project, preview a graph, build

runtime output, verify a release, or run repository gates.

First Checks

Run these from the repository root:


dotnet --version
scripts/check-release-gates.sh

PowerShell equivalent:


pwsh scripts/check-release-gates.ps1

If the gate script fails, rerun the failing section manually:


dotnet restore PompoEngine.slnx
dotnet build PompoEngine.slnx --no-restore
dotnet test PompoEngine.slnx --no-build
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- doctor --repository --root .

If repository doctor reports `REPO011`, restore the Unix executable bit:


chmod +x scripts/check-release-gates.sh

The expected SDK is `10.0.100`. `global.json` disables roll-forward, so an

unexpected SDK version should be fixed before diagnosing engine behavior.

Project Does Not Open

Run:


dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- doctor --project <projectRoot>
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- validate --project <projectRoot> --json

Check for:

Assets Are Missing or Marked Broken

Run:


dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- asset verify --project <projectRoot> --json
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- asset list --project <projectRoot> --json

If a source file changed intentionally, reimport or rehash the asset through the

editor or CLI. If an asset is unused, verify that it is not referenced by scenes,

characters, graphs, runtime UI skin slots, or localization before deletion.

Graph Preview Fails

In the editor:

  1. Save the current graph.
  2. Check the Graph diagnostics column.
  3. Confirm the selected preview locale exists in the project.
  4. Run Preview again.

From CLI/runtime paths, build the project and execute compiled IR:


dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- build --project <projectRoot> --profile-file <profileFile> --output <buildRoot>
dotnet run --project src/Pompo.Runtime.Fna/Pompo.Runtime.Fna.csproj -- --play-ir <buildOutput>/Data/graph_intro.pompo-ir.json --json-trace

Common causes:

User Scripts Fail to Compile

Run a project build or use the editor custom node palette status. Script

diagnostics usually include the source path and line.

Common causes:

`System.Diagnostics` without explicit `scriptPermissions`

See `docs/SCRIPTING.md` for examples and security rules.

Build Fails

Run:


dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- validate --project <projectRoot> --json
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- profile list --project <projectRoot> --json
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- build --project <projectRoot> --profile-file <profileFile> --output <buildRoot>

Check:

Release Verification Fails

Run:


dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- build verify --build <buildOutput> --require-smoke-tested-locales --require-self-contained --json
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- release verify --manifest <releaseManifestJson> --require-smoke-tested-locales --require-self-contained --json
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- release audit --root . --manifest <releaseManifestJson> --require-smoke-tested-locales --require-self-contained --json

Common causes:

debug-symbol artifacts

Documentation Site Fails

Run:


dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- docs site --root . --output artifacts/docs-site --json
dotnet run --project src/Pompo.Cli/Pompo.Cli.csproj -- doctor --repository --root .

The docs generator treats required Markdown files as release artifacts. If a

required doc is missing or renamed, update `DocumentationSiteService`,

repository doctor, and tests in the same change.

CI Fails But Local Build Passes

Check:

a compile error.

What To Include In A Bug Report