Find the first place the game goes wrong
15 / DEBUGGING
Use the same save and room in three places: the PCA runner, the exported desktop game, then the installed console package. Start at the first place the behavior changes. That narrows the search much faster than editing the puzzle, controller mapping and platform code all at once.
| Symptom | Trace it in this order |
|---|---|
| Build stops before install | Read the first relevant compiler or packaging error. Check the port revision, SDK, target architecture and native extension named in the message. Fix one cause and rebuild from a clean output folder. |
| Launch stops at the logo | Compare the startup log with desktop. Look for the first failing extension, asset or scene. Confirm game/project.pca3d, the main scene, movie format and exact filename case made it into the package. A missing movie must still have a tested path into the game. |
| Stick works, Use does Look | Check whether the room has an adaptive profile. Inspect the family row and effective behavior from page 4. Try the same button in the room, wheel and inventory. Write down which screen handled it. |
| No prompt over the door | Walk the player close to its origin with the door in front of the camera. Check Proximity Interaction, Show Controller Hints and whether startup, a modal window or a dialogue lock still owns input. Cycle targets once. |
| Crash on one console | Record the kit model, package ID, save, exact steps and last event. Capture logs or a crash dump with the partner tools. Resolve it with symbols from that exact build. Repeat the same steps on a second kit when available. |
For a PCA-side clue, use the visual action Get Control State and supply a Result Variable. Inspect fields such as inputDevice, movementProfile, nearestEntityId and coinOpen. An empty target ID points you toward targeting. A correct target ID takes you onward to the assigned action or the object’s event.
