Troubleshooting
no running PuppetXR simulator with its control server on
Start the app with PUPPETXR_CONTROL=1 and XR_RUNTIME_JSON pointing at
PuppetXR's manifest. geppetto simulators should then list it. Check that
$XDG_RUNTIME_DIR is the same for the app and for geppetto.
geppetto run: the free trial on this machine ended or … in CI needs a licence key
geppetto run, geppetto replay, geppetto explore and geppetto propose check run under a licence key, an indie declaration or the
30-day trial. Indie developers (revenue plus funding under $100k) run
geppetto license indie --yes, or set GEPPETTO_INDIE=1 in CI. Companies get a key
from https://ambient-intent.com/geppetto and run geppetto license activate <key>, or set GEPPETTO_LICENSE in
CI. CI machines get no trial. When a key was found but cannot be used, the
message says why: changed or not issued by Geppetto, ended, or withdrawn.
geppetto license status shows what Geppetto uses. Nothing was started or sent, so run
the tests again afterwards.
several simulators run, pick one with --target
Pass --target with the process ID or app name that geppetto simulators prints.
warning: Geppetto was built against PuppetXR …, not …
The simulator runs a PuppetXR version Geppetto has not been checked against. The
run continues, but a protocol change could make steps misbehave; the receipt,
summary.md and the dashboard say so. Use a known PuppetXR version, or check
the results by hand before trusting them.
warning: the app's Geppetto package is …, not the one for geppetto …
The app was built with a different release of the Geppetto Unity package than the
geppetto command you ran. The run continues, but a tool could answer differently;
the receipt (app_package), summary.md and the dashboard say so. Build the
app with the package from the same Geppetto release, or check the results by hand.
NullReferenceException in OpenXR's FeatureHelpers after upgrading from QUAK 0.4
The project's OpenXR settings (Assets/XR/Settings/OpenXR Package Settings.asset)
still list QUAK 0.4's Direct features, whose scripts are gone. Newer Unity OpenXR
packages walk every feature entry and throw on the missing ones, on each Editor
load; Play mode still works. Choose Geppetto > Set Up Project: it removes the
entries of those two features, and leaves any other package's entries alone.
To do it by hand instead, with Unity closed and the asset under version control,
delete each --- !u!114 block whose m_Script has guid
902a2253d8b44355ab6bd99b6a723657 (Simultaneous Hands and Controllers) or
d4f7049b82bd4c5bb751195883f5a421 (Runtime Observability), and the
{fileID: …} lines for those blocks in the features: lists, then reopen the
project.
cannot reach <address>:<port>
The simulator announced itself but does not accept connections, usually because the app is exiting or crashed. Restart it.
the test expects app log lines, but no --app-log was given
Pass the app's log file with --app-log. Nothing was sent to the app.
the app offers no geppetto_mark_evidence_target (or geppetto_get_state, geppetto_invoke_action)
The test aims at a target, asserts state or runs an action, but Geppetto found no Geppetto channel for the app. Check that:
- the build contains the
com.xrdevrob.geppettopackage and is a development build or the Editor; - the app was started with
PUPPETXR_CONTROL=1(orGEPPETTO_APP_TOOLS=1), and not withGEPPETTO_APP_TOOLS=0; its log says[Geppetto] App tools channel on 127.0.0.1:<port>; - the app and
geppettosee the same$XDG_RUNTIME_DIR, or, without it, the same temporary folder: the app announces its channel there.
Nothing was sent to the app.
A run against the Unity Editor hangs while the Editor is in the background
A hidden or unfocused Editor stops ticking during Play mode switches and while
loading, so the app never reaches the step Geppetto waits for. Bring the Editor to
the front, or run the tests on a development player with geppetto run --app,
which runs in the background. On macOS, geppetto run warns before the tests when
its target is an Editor that is not in front.
Depth effects draw nothing on a Mac (EnvironmentDepth is disabled)
Meta's environment depth does not reach Unity on macOS: Meta's depth provider is not
compiled for macOS players, and in the Editor Unity's Meta occlusion plugin rejects Metal
(Unsupported Graphics API: 16). Effects that sample _EnvironmentDepthTexture then draw
nothing, even though PuppetXR simulates the sensor. Enable the
Geppetto Depth Bridge for development builds.
A state, target or action step times out
A tool runs on the app's main thread. While the main thread is held, for
example by PuppetXR's pause or a debugger, the call waits up to 15 s and then
fails with timeout.
target … is not in view of the left eye
For 30 frames the app could not place the target in the eye's image: it is
behind the camera, out of view, or has no area. The hand was not moved. Add a pose step that faces it first, or check that the
right scene is loaded.
the app reports no state provider … or provider … has no …
The provider is not registered at that moment, or its JSON has no value at
path. A provider that registers in OnEnable, as in the
example, is absent while its
object is inactive. The receipt's step records what the app reported.
action …: Unknown Geppetto action or … requires confirm=true
No handler with that ActionId is registered at that moment, or the handler
is marked as a project mutation, which Geppetto tests never confirm. Any other
message after action …: is the exception the handler threw.
A gesture step errors at once
PuppetXR names the problem: an unknown gesture name (built-ins are listed by
puppetxrctl gesture list; load your own with puppetxrctl gesture load), or a
param it rejects, with the param's JSON path. A gesture file PuppetXR rejects
is named the same way; check it with puppetxrctl gesture check <file>. A file
over 15 KB as sent does not fit in one request: load it with puppetxrctl gesture load
and play it by name.
the app ended before the replay reported its result
PuppetXR ends the session when a replay ends. Start the app with
PUPPETXR_REPLAY_EXIT=0 and run geppetto replay again.
geppetto replay reports diverged frames
The simulator did not reach the state the recording holds at those frames, for example because the app or PuppetXR build differs from the one recorded, or the eye resolution or refresh rate does. Replay into the same build.
A receipt says the recording is unavailable
The simulator would not record, for example because a replay or another recording was running; the reason is in the receipt. The test ran normally.
A log expectation never matches
The pattern is a Python regular expression matched against lines the app wrote
after the last input began. Escape [, ], (, ) and ., and check that the
app writes to the file you passed (some players buffer their log).
steps[N] (...) is an interaction with no expectation after it
A click, press, input or gesture comes after the test's last
expectation, so nothing would check its effect. Add an expectation after it,
or move it before an expectation that checks it.
test exceeded its … s timeout
The whole test ran past timeout_seconds. Raise it, or shorten long waits.
Held input was still released; the receipt's cleanup shows the result.
Runs under --fixed-step are slower than in real time
The fixed step advances the simulated time by one display period (1/90 s) per frame, so an app that draws fewer than 90 frames per second makes every gesture and frame wait take longer. A player that vsyncs its own window draws at the desktop's rate, about 60 Hz. Turn VSync off in the player build (Build a player for PuppetXR runs).
The picture is shifted down, with a stale band at the top
A Unity app on macOS that lowers XRSettings.renderViewportScale below 1 is
composed shifted down by (1 − scale) / scale of the view's height. Unity's Metal
path draws the reduced viewport at the bottom of the image and submits it as the
top; PuppetXR follows the OpenXR rule for Metal, which puts the origin at the
top left. Keep the scale at 1 when running on PuppetXR.