Starting with Playdate OS 1.12.0 and SDK 1.12.0 on macOS 12.4 (Apple Silicon), the Playdate crashes when the simulator tries to run a game after uploading it to the device. It shows the screen with the blocks, and when I press B to see more info, it says “File not found.”
I can reproduce this with my own Lua projects or any of the Lua examples that come with the SDK, but not the C examples. (Edit: this occurs when a game has a space in its project name, see my comment below)
Steps to reproduce:
- Connect Playdate to computer via USB-C and make sure the Playdate is unlocked on the home screen.
- Run a Lua game in the simulator. It doesn’t seem to matter whether this is by double clicking a PDX or running a project from Nova.
- Open the Device menu and click Upload Game to Device.
- Wait while the simulator uploads the game.
Expected result: the Playdate should leave data disk mode and run the game.
Actual result: the upload finishes, the Playdate leaves data disk mode and returns to the home screen, the simulator upload progress gets to the “Running” phase, sits there at 0% on the progress bar for 5-10s, then the Playdate crashes with “File not found.”
The game is uploaded successfully and after the Playdate reboots I can manually open it from the home screen. It’s just the first launch triggered by the simulator that crashes.