# Troubleshooting

The messages below are the editor's own words. Find the one you see, and what to do is
beside it.

## The engine is not found

The editor runs your game with the engine, `frost`. It looks for one in this order: the
path set in **Settings › Engine**, the engine that came with the app, then the first
`frost` on your `PATH`.

| The editor says | Do this |
| --- | --- |
| The engine was not found: none is set in Settings, none came with this app, and none is on PATH | Install the engine ([Install](../start/install.md)), or press **Choose the engine…** and point at one you have |
| The engine set in Settings is not there: *path* | The path in **Settings › Engine › Path to the engine** names a file that is gone. Choose it again, or empty the field to use the first engine found |
| The engine is not ready | The card offers **Try again** and **Choose the engine…** |

**Settings › Engine** always says which engine is in use, its version and where it was
found.

## A game does not open

When a game cannot start, the window still opens: on the game's text, with the problem
where the timeline would be.

| The editor says | Do this |
| --- | --- |
| *file*, line *N*: *the engine's words* | The project file or a scene has a mistake the engine names. **Open** *file* **at line** *N*, fix it and save: the game starts by itself when you save a fix |
| The game could not start | Read the engine's own lines under the sentence; **Try again** after a fix |
| There is already a folder named *name* with files in it. | You are making a game under a name your games folder already has. Choose another name |
| No game template is available. | The engine in use lists no finished games to start from. Check which engine is in use under **Settings › Engine** |
| *name* is gone from its folder | A game on the start screen was moved or deleted outside the editor. Open its folder where it is now with **Open a folder…** |

A folder that came from elsewhere asks once before its scripts run; see
[a game from elsewhere](open.md#a-game-from-elsewhere). **Only read its files** opens it
without running anything.

## A game in C# does not play

| The editor says | Do this |
| --- | --- |
| This game's scripts are C#. This build's engine plays Luau games. | The engine in use was built without C#. Press **Choose the engine…** and choose an engine with C# |
| This game's scripts are C#, and this computer has no .NET SDK. | Install the .NET SDK, version 10 or later (**Get the .NET SDK**), then press **Check again**. The card lists where it looked for `dotnet` |

In both cases the game's files stay open to read and change. See
[Gameplay in C#](../guides/csharp.md).

A breakpoint in a `.cs` file that is refused means netcoredbg is not installed; the game
runs on without it. See [Debugging](debugging.md#what-works-for-luau-and-for-c).

## A script stops the game

| The editor says | Do this |
| --- | --- |
| *file* stopped the game | A script raised an error. The card has the engine's words and the line. Fix the line and save: everything up to there still plays, and the game goes on when you save a fix. **Fix it for me** hands the error to the agent |
| *file* did not load at step *N*. The game runs the one before. | The script you saved does not compile. The game kept the last one that did. The error is in **Problems** |
| The game did not load again | A change to the project file or a scene could not be loaded. The notice carries the engine's reason; the game runs as it was |

## The keys do nothing

| What you see | Why |
| --- | --- |
| Letters pick tools instead of moving the player | The game does not have the keyboard. Click the game, or press play: while the game plays and has the keyboard, the keys are the game's |
| Letters reach the game when you want a tool | Press `Esc`: it gives the keyboard back to the editor |
| Keyboard play needs a newer engine | The engine in use cannot take keys from the editor. Use a newer engine, or **Play in a window** |
| The game is not running. | An action needs the running game. Start it with play, or see [The engine is not found](troubleshooting.md#the-engine-is-not-found) |

## Changes are not kept

| The editor says | Do this |
| --- | --- |
| This folder cannot be written: the game plays, and changes are not kept | The game's folder is read-only (a disk image, a folder you do not own). Copy the game to your games folder and open the copy |
| *N* values are only in the running game | You changed a thing a script makes; it has no line in a scene file. Change it in the script, or use **Ask the agent to keep it** |
| A thing you deleted is back | The thing is made by a script, so the scene file never held it. The editor refuses the delete and says so. Change the script |

## Going back fails

| The editor says | Do this |
| --- | --- |
| The saved moment could not be opened. You can play from here. | A moment of the run could not be restored. Nothing is lost: play on, or go back to the start |

## A test fails

**The run differs from step N** is not an editor error: the game no longer does what its
recorded run says. The card names the step, the value and the line that last wrote it.

- If the change is a bug, **Go there** and fix it.
- If the change is what you meant, **Accept** makes the recording say what the game does
  now. **Undo** puts the recording back.

## Export fails

| The editor says | Do this |
| --- | --- |
| Not exported: the test fails at step *N* | **Go there**, or **Export anyway** |
| Not exported: the game has problems. | Open **Problems** and fix what the engine's check found |
| Not exported: the game could not be tested. | The test could not run at all; the engine's words are under the line |
| Not exported: its players would be another engine's. | The players this export would copy are not the engine that ran the tests. Use one engine for both, or **Export with those players** |
| The game was not exported | The engine refused, and its reason is shown in its own words |
| This engine's player for the browser has no 3D physics, so this game cannot play there yet. | Export for this computer, or wait for the browser player |
| This engine's player cannot play this game: it was built without a part the game needs. | Choose an engine that has the part (for example, one with C#) |
| The game did not open in the browser / The exported game did not start | The engine's last lines are shown with the message |

A game in C# exported for the web needs one more step: see
[C# on the web](../guides/fusion.md).

## An agent is missing

| The editor says | Do this |
| --- | --- |
| No coding agent is set up | Press **Set one up…**. The editor runs an agent you installed and signed in to; it does not include one |
| An agent cannot see the game | Turn the engine's MCP server on under **Agents › External MCP Servers** |

## Help for a language is missing

*language* **· the text shows without its help; Settings › Language Servers installs it**
means the editor has no language server for a file's language. The file opens, colours and
saves all the same. Luau needs none: its help is built in.

## Still stuck

**Output**, in the dock, has every line the engine printed, in its own words, and each
error carries the engine's code. Search the documentation for that code.
