Troubleshooting & Diagnostics
Symptoms, causes, and where to look. Most Storyboard problems log a warning and continue, so the Generate, packaging, and application logs usually contain the answer.
Table of Contents
The Application Hangs on Startup
Updates Reach the Wrong Display
Generate and Packaging Failures
The Application Exits Unexpectedly
Where to Look First
| Question | Source |
|---|---|
| Did model generation run? | Generate log, Storyboard group |
Did the .gapp export? |
Generate and packaging logs, Storyboard.Installer group |
| Is the engine running? | pgrep sbengine on the device |
| Did the channels open? | Application log, Storyboard group |
| What is the engine complaining about? | Application log, Storyboard.SBEngine group (desktop only) |
The Application Hangs on Startup
Symptom. StartStoryboardUI() never returns.
Opening a channel blocks until the engine creates it, retrying every 100 ms with no timeout. After five seconds, and every thirty seconds after that, you get:
Input Channel thermostat_backend has not opened after 5 seconds. Verify that
thermostat_backend matches a channel name used by the Storyboard Application and
that the Storyboard Engine is running.
| Cause | Check |
|---|---|
| Channel name does not match the engine's application name | The app/n node in Designer — not the .gde filename |
| Channel name longer than 25 characters | A separate warning is logged at open time |
| Engine not running | pgrep sbengine; on a desktop, check the Storyboard.SBEngine log group |
Engine started but failed to load the .gapp |
Storyboard.SBEngine log group |
| Wrong engine build for the host | storyboardDebugEngineFolder must match your OS and architecture |
The name mismatch accounts for most cases. It is worth checking before anything else.
The Display Is Blank
The engine is running, but nothing is drawn. Every cause below logs a warning and lets the build succeed.
| Cause | Log message |
|---|---|
| Launch configuration has no project path | No Storyboard App Folder was specified for Launch Configuration N |
| Launch configuration has no app name | No Storyboard App Name was specified for Launch Configuration N |
| Designer not found | Storyboard Designer folder ... was not found on this machine |
| Export produced nothing | Storyboard Application (.gapp) was not exported to ... |
| Engine missing from the package | StoryboardEngine Output Folder was not found at ... |
On Pro and Flex, also check the surface binding: a surfaceId that appears in no screen's surface
list in PackageInfo.json leaves the engine rendering to a surface the layer manager never places.
Nothing Updates
The UI is drawn but does not react.
| Cause | Check |
|---|---|
| Generated classes are stale | Re-run Generate after any custom.evt change |
| Event name differs between Designer and code | Switch on the generated Name constants so a rename fails to compile |
| The format string differs | Nothing validates it; mismatched sizes produce wrong values silently |
| Writing an unchanged value | OnSetValue is a no-op when the value matches |
| Sending on a channel that does not exist | Storyboard message names output channel N, which does not exist |
| Listener never started | StartEventListenerAsync(), or register the client with the dispatcher |
Tip
To push current state to a screen that just came up, send the message rather than reassigning the properties — reassigning identical values does nothing.
A String Will Not Update
Symptom. A status label changes in your model but not on the display.
A string field is variable length, and a string write is committed by replacing the message buffer. The buffer is only committed when its length changes, so replacing a value with one of the same length can appear to do nothing.
model.Mode = "IDLE"; // 4 characters
model.Mode = "STOP"; // also 4 - may not reach the display
Fix. Make the values differ in length, or pad them to distinct lengths. The MultiScreen demo
uses IDLE / RUN / SERVICE deliberately.
Also confirm the string is the last field in its event. A string advances the packing offset by zero, so any field declared after it shares its offset and is unreachable.
Updates Reach the Wrong Display
Only applies to multi-display applications.
| Cause | Fix |
|---|---|
ChannelId left at zero |
Stamp it in an OnInit override on each update class |
Channel constants out of step with AddOutputChannel order |
Ids are positional; adding a channel in the middle renumbers the rest |
| Trying to identify the sender by inbound channel | Inbound messages carry no channel — distinguish by event name |
Generate and Packaging Failures
Invalid Project Licenses
A package that ships to a device needs a Storyboard Runtime licence on the project. Desktop packages are unaffected.
Missing Engine Folder
storyboardEngineFolder resolved to the same path as the Storyboard install root, which means no
engine was actually selected. Pick the engine build folder, not the install root.
Storyboard Designer ... was not found
Designer is located by trimming storyboardEngineFolder at Storyboard_Engine to derive the
install root. An engine folder outside the normal Crank layout breaks this even if the engine
itself is valid.
Code Generation is only supported for CPP or DotNet
The project's application type is something else. Only Dotnet and Cpp are supported.
StoryboardConfiguration Not Found
The file must sit beside PackageInfo.json in the platform folder, not at the project root.
No model classes generated
Check that modelGeneratorEnabled is true and that each project has events/custom.evt. A
missing event file logs No Storyboard events were found at ... and generates nothing for that
launch configuration.
Two classes with the same name
Two projects in launchConfigurations declare an event with the same name. All event files merge
into one namespace, so names must be unique across every project.
The Application Exits Unexpectedly
SendEvent(StoryboardViewModelBase, string) terminates the process when a channel exists but the
send fails:
Ahsoka Application Shut Down due to Error in Storyboard Event Channel
This is deliberate — an application whose UI has stopped accepting updates is showing stale data to an operator. Check that the engine is still alive and that the message format matches the event definition.
Note the SendEvent(StoryboardMessage) overload does not do this; it ignores the send result.
Cross-Platform Development
| Symptom | Cause |
|---|---|
Generation writes into a folder literally named ..\Generated |
Older configuration written before path normalisation; re-save it |
| Engine folders not found on Linux or macOS | Absolute Windows paths. Repoint both engine folders at your local install |
PlatformNotSupportedException at client construction |
Host is not Windows, macOS, Linux, or an OpenView device |
Relative paths are stored portable and normalised on read, so a Windows-authored
../StoryboardProject resolves on Linux and macOS. Absolute engine paths are not translated —
those are machine specific and must be repointed per machine.
Log Groups
| Group | Emitted by | Severity |
|---|---|---|
Storyboard |
Client, channels, code generation | Low to Error |
Storyboard.Installer |
Packaging — engine copy, .gapp export |
High, Error |
Storyboard.SBEngine |
sbengine stdout and stderr, desktop only |
Low (stdout), Medium (stderr) |
Storyboard.SBEngine is opted in to Severity.Low automatically so engine output is visible
without raising global verbosity — unless you have configured that group yourself, in which case
your configuration wins.
To see channel open and close messages, raise verbosity:
AhsokaLogger.Default.SetGlobalVerbosity(VerbosityLevel.ShowLow);
Note
Engine output capture is a desktop feature. On a device the engine is started by the UI start script, not by your application, so its output goes wherever the platform's service logging sends it.