Troubleshooting
Diagnose common editor, Lua, animation, physics, publishing, and MCP problems.
An object has vanished from my scene
It has almost certainly not been deleted. When a scene object's stored data cannot be read, the editor skips that object and opens the scene anyway, rather than refusing to load at all. A panel appears at the top of the viewport saying how many objects failed to load.
If you dismissed that panel, or closed the scene before reading it, the object simply is not there — and it will be skipped again on every load until its stored data is fixed. Reload the scene to bring the panel back.
From each row you can:
- Retry — load that object again. Enough if the failure was transient, such as an asset that had not finished uploading.
- Copy — copy the object's id, the error, and its stored data, formatted to paste into the AI assistant or an MCP client. This is usually the fastest repair, because the text already contains the data that failed to load, which is what a fix has to change.
- Delete — remove it permanently, if it is not worth repairing.
- Dismiss — hide the row. This repairs nothing; the object is still broken.
The panel also lists objects that did load, but were built from something other than what they reference — a terrain whose height map could not be read, for instance. Those rows are amber rather than red and are marked in the scene. They offer no Delete: the object is standing and rendering, and deleting it would take everything parented to it as well. Retry is the remedy, since whatever it could not read may have arrived since.
An object can also vanish because the server refused to save it. Such an object exists only in your editor tab, so it is gone the next time the scene loads. The panel lists it in red, marked not saved to server, with the server's reason: for example a parent it cannot have, a scale the physics engine cannot simulate, or an id already used in the scene. Fix the cause and edit the object again; the row clears once a save succeeds. These rows offer Select, Copy, and Dismiss. A save that could not reach the server at all is not listed.
A common cause is a deleted asset. Deleting an asset does not clear the objects bound to it, so check whether anything was removed from the asset library recently. What happens next depends on what the missing asset was for, and only the first two make an object disappear:
- A mesh asset on a mesh or ragdoll object — the object cannot be built at all and is skipped.
- A chassis mesh on a vehicle — the same, the vehicle is skipped rather than falling back to a box.
- A height map on a height field — the terrain still loads, but it is built from procedural noise instead of the image that was bound, so you get a hill of the wrong shape rather than no hill. If terrain you authored suddenly looks generic, this is why.
- A colour map on a height field — the terrain loads untextured, showing its material's colour with no image on it.
See When an object fails to load.
An object will not take a parent
Water cannot be a parent, and a GUI element and a 3D object cannot be parent and child in either direction: GUI elements nest through their own parentObjectId. The editor's hierarchy will not offer these links, and the server refuses them from MCP tools and the AI assistant with validation_error and the message cannot be water or cannot link a GUI element and a 3D object. An object already inside water from an older scene can still be edited, and moved out.
A script never runs
Confirm the script is attached to the correct object, simulation is running, and the browser console has no initialization error. Scene-wide scripts must be assigned in Scene Settings.
If the object is bound to a script the project does not have — one that was deleted, or an id that was never right — the issues panel says so, listing it as an object that loaded but does nothing. There is no error to find in the console for this one: nothing failed, the script simply was not there to run.
Before 16 September 2026 a script created by the AI assistant, or the driver script vehicles_create_wheeled writes for a new vehicle, did not reach an editor tab that was already open, so an object bound to it stayed inert until the page was reloaded. A vehicle in that state looked like a broken drivetrain: physics_run_simulation reported driver input stuck at zero with an empty script_errors list, which is exactly what a script that runs and does nothing leaves behind. Reloading the tab fixed it.
A first-person camera never turns
First-person consumes every look producer. Try the arrow keys first. If they work, enable Desktop mouse look for mouse aim, or enable mobile controls and author a look stick for touch. Click the canvas to capture the mouse and press Escape to release it.
Also confirm the camera has no scriptId and that targetCharacterId resolves to the intended character, vehicle, or other transform-bearing object. A missing target falls back to free-camera behavior; a script disables the built-in controller.
Arrow keys do not orbit my third-person camera
That is expected. Arrow keys and the touch look stick feed the Lua look bus; the starter Character Controller uses them to turn the character, and the third-person boom follows that rotation. Independent third-person orbit comes from pointer look: mouse movement when Desktop mouse look is enabled, or a touch drag away from the controls.
This split prevents one held turn from rotating both the character and the boom. If neither the target nor the camera moves, check the target's controller script. If the character turns but independent orbit does not work, enable Desktop mouse look or test touch drag. A gamepad's right stick behaves like the arrow keys here.
I can see my own character in first person
Both first-person modes hide the followed object from their own view by default, so a character's head and body no longer cross the screen when you look down or sideways. If you can still see it, check the camera's Hide followed object setting (hideFollowedObject); false turns the hiding off. Only that camera's render is affected: other cameras and other players still see the character, and its collisions and animation are unchanged. A game published earlier picks this up once republished.
First-person look stops short of straight down
That is the camera's pitch limit. Set Minimum Pitch (degrees) and Maximum Pitch (degrees) (minPitch/maxPitch, positive up) on the camera: minPitch: -60 stops downward look at 60°. Left unset, first-person look stops at about ±87° and third-person orbit at ±60° from the authored boom. A camera with a script supplies its own limit.
The first-person view faces the wrong way
A first_person camera renders along its target's forward axis, local +Z — the direction the character faces. If the view starts out pointing behind the character, the usual cause is a 180° correction left over from before 9 September 2026, when the mode did not reconcile Three.js's -Z view direction with the engine's +Z forward and the view did start out backwards.
Look for a half-turn applied to the character, to the camera, or in a script that writes either one's rotation, and remove it. A scene that was authored to look correct under the old behaviour is exactly the scene that looks backwards now.
If the view is not reversed but merely points somewhere unexpected, check the character's authored rotation — the camera inherits it, so the character's facing is the view's resting direction. getForward() on the camera reports the rendered direction and can be printed to confirm.
The first-person camera sits too high or too low
Set the camera's eyeHeight field to the eye height you want. It is measured from the follow target's origin, which for a character is its feet, so eyeHeight = 1.65 puts the eye at 1.65m. The default is 1.6.
followOffset.y is added on top of eyeHeight, not used in place of it. A scene that puts the whole intended eye height into followOffset.y therefore ends up about 1.6m too high — which looks like the world is the wrong scale. Leave followOffset.y at 0 unless you want a further nudge.
A material colour is rejected
materials_create and materials_update take colour channels as normalized values from 0 through 1. A channel above 1 is an error rather than a bright colour, and so is a key other than r, g, or b. This applies to color, specular, emissive, and sheen alike. To use an 8-bit colour such as rgb(204, 102, 0), send it as an sRGB hex string, "#cc6600", which is converted for you. Dividing each channel by 255 instead is accepted, but makes a lighter, greyer colour on a material; see the next entry and Assets, materials, and shaders.
Colours look washed out or lighter than my palette
Material colours, light colours, the Lua setColor tint, and a vehicle's tire, rim and track colours are linear RGB, not the sRGB of CSS, a palette or a design tool. A palette value divided by 255 and stored as it is renders lighter and greyer than intended: 0.5 shows about as light as #bcbcbc, not #808080. For a material, send the hex instead: materials_create and materials_update accept an sRGB string such as "#38383d" and convert it. In the editor, type or pick the hex in the colour picker, which converts for you; the number fields beside it show the stored linear values. For a light or vehicle colour set through MCP or Lua, convert each channel first; the MCP tool guide gives the formula. GUI colours, particle colours and fog are sRGB already, so a palette value divided by 255 is right for them.
Coloured lights used to look darker and more saturated in the editor than in Preview or a published game, because the editor re-applied each light's colour as if it were sRGB after any edit or Stop. That was fixed on 14 October 2026: a coloured light now looks the same in the editor as players already saw it. White and black lights were never affected.
A material's normal, roughness, metalness or AO map is refused or has no effect
Only standard and physical materials render these maps. materials_create and materials_update refuse normalMapId, roughnessMapId, metalnessMapId, aoMapId, normalScale and aoMapIntensity on a phong, basic or lambert material with validation_error, and the editor shows their pickers only for the two PBR types. Change the material's type, or bind only a colour map (mapId).
A roughness or metalness map that seems to do nothing is being multiplied by the material's Roughness or Metalness value: with metalness at 0 a metalness map has no effect at all. Set the value to 1 to use the map as painted. The renderer reads roughness from the green channel, metalness from the blue and ambient occlusion from the red, so a single-channel image saved in another channel reads as empty. See Assets, materials, and shaders.
A material does not apply to an imported model
Work down the resolution order for the surface in question. A named surface with its own binding in surfaceOverrides wins; otherwise the object's own materialId applies; otherwise — while the object is on Default White — the model keeps the material embedded in the file.
So a model that still looks the way it was exported, despite an object material being set, usually has per-surface bindings covering the parts you are looking at. A model that will not take an override at all is usually skinned: an animated character's skinned geometry always keeps its imported material, and neither kind of override replaces it.
A surface binding names a project material by ID, and deleting that material puts the slot back on its embedded material while keeping the binding — the inspector then shows Missing material, which is the quickest confirmation that this is what happened.
A generated track or mesh whose surface bindings show in the editor but collapse to one material in Preview or a published game was built before 14 October 2026, when the optimised copy games load merged its material slots into one. Regenerate the asset (open its recipe and rebuild it) to refresh that copy, then republish.
A material renders as nothing at all
A shader material whose vertexShaderId or fragmentShaderId points at a shader that has been deleted cannot compile, so objects using it do not render — they disappear rather than falling back to a default surface. Repoint the material at an existing shader, or change its materialType to one of the built-in surface models.
A vehicle's wheels ignore its material
That one is deliberate. Tires, rims, and track belts are drawn from the vehicle's physics wheel layout rather than from its chassis model, so they never inherit the object's Material — a red car should not arrive on red tires. Colour them with the vehicle's own Tire Color, Rim Color, and Track Color fields, in the inspector or through scene_objects_update. Leave one unset and it keeps its default rubber or steel. See Vehicles, constraints, ragdolls, and navigation.
The whole screen goes black with Bloom on
Before 15 October 2026, a scene with Bloom on and the sky's Rayleigh and Mie Coefficient both at 0 drew a completely black frame, in the editor, in a published game and in scenes_take_screenshot. The sky's shader produced invalid pixels when there was no scattering, and Bloom spread them over the whole frame. That is fixed: such a sky now renders as a near-black night sky, with the sun's disc still showing while the sun is up, and the objects in the scene draw normally. Bloom also ignores invalid pixels from any other source, such as a custom shader that divides by zero, so one bad pixel stays one bad pixel. No republish is needed. If you wanted a lit sky, raise Rayleigh (the default is 3) or the Mie Coefficient (default 0.005).
An action button works on touch but does nothing on desktop
Inspect the action's authored keys. Each action may bind up to four KeyboardEvent.code values or Mouse0/Mouse1/Mouse2. An action with no authored keys falls back to its positional digit, 1 through 9; jump and primary_fire keep Space and left mouse as compatibility bindings. If two actions claim one code, the later authored action wins. An action omitted from the button list has no route on either device.
The mirror of this catches people on mobile: an action button is the only touch source for its action, so a mechanic gated behind an action whose button was never added is unreachable on a phone even though the keyboard shortcut works.
To keep an occasional action off a phone's screen without losing it, set its On touch to In actions menu rather than Hidden: a hidden action has no touch control at all.
A gamepad does nothing
Press a button after the game starts: a browser reports a gamepad to the page only once it has been used there. The runtime reads only gamepads the browser reports with the standard mapping, which some older and generic controllers lack; those are ignored. If the sticks work but an action does not, check the action's Gamepad button in Scene Settings. An action without one takes the next free default, so the defaults shift when actions are added or reordered. Start always pauses. See Gamepad.
Look is far too fast, too slow, or inverted
Sensitivity and per-axis invert are player settings, not scene settings. Open the Preview menu and choose Look controls—available on desktop and touch—to adjust them between 0.5x and 2.0x. They are stored per viewer, so what you see is not necessarily what your players see.
In Lua, read lookDeltaX/lookDeltaY and not lookAxisX/lookAxisY. The engine integrates the held axis into the deltas once per frame, so a script that reads both turns twice as fast as it should.
Collision callbacks never fire
Call gameObject.registerForCollisions() inside init(). For trigger callbacks, also enable Trigger Volume on the sensor object.
When the object entering the trigger is a character, the trigger fires once the character's script has finished init(), whether or not it registered for collisions; only a character script that wants its own onTriggerEnter needs registerForCollisions(). Before 3 October 2026 a character whose movement script never registered could not set off a trigger at all, so a checkpoint or pickup that never fired in an older release may start working when the game is played again.
If the two objects collide with everything except each other, check whether they share a collision group with that subgroup pair disabled — that is exactly what the filter is for, and it suppresses the contact callbacks along with the contact. See Collision groups.
A character and a solid body it touches both receive onCollisionEnter and onCollisionExit, including the floor the character stands on. Until early October 2026 a character reported no solid contacts at all — a thrown ball stopped against it and neither side was told — so a script written around that, for instance one that detects hits with a trigger instead, may now see both.
A trigger reports contact but nothing happens
The handler probably ran and raised. A Lua error inside a callback stops that callback where it stands, and the object it was about to move simply does not move — which from the outside is indistinguishable from a trigger that never fired.
The usual cause is treating the callback argument as an object. other is a plain data table — id, position, rotation, normal, contactPoint, contactDepth, isTrigger — with no methods on it, so other.setPosition(...) is nil and calling it raises. Resolve it first:
function onTriggerEnter(other)
local entered = gameObject.getObject(other.id)
if entered then
entered.setPosition(0, 5, 0)
end
end
Check the browser console for the error, or run physics_run_simulation and read script_errors, which lists every error a script raised during the run with the callback it came from and how many times it happened. An empty script_errors alongside a recorded contact means the handler really did not run — go back to the registration checks above.
A soft body will not move when a script pushes it
Work down these four, in order. The first two are the usual answer.
- Check the method name. There is no
applyImpulseon any kind of object — the method isaddImpulse.ball.applyImpulse(...)isnil, so calling it raises and stops the rest of the handler, which then looks like a push that did nothing. - Check the magnitude. A soft body's mass is its vertex count: every simulated vertex weighs 1 kg, so the default soft sphere is 162 kg and a finer tessellation weighs more. The object's Mass field does not apply to a soft body and is ignored. An impulse tuned against a rigid sphere of the same size is roughly two orders of magnitude too small.
- Do not assign velocity.
setLinearVelocityandsetAngularVelocityare discarded on a soft body — its velocity is recomputed from its vertices every step — so useaddImpulseandaddTorqueinstead. The getters are fine and report the body's real motion. - Remember that force is per-frame.
addForceandaddTorqueare consumed by the next physics step and then cleared, so a single call fromonTriggerEnterlasts one frame. For a one-off shove useaddImpulse; to push for longer, calladdForcefromupdate(dt).
Before 16 September 2026, addImpulse and addTorque did nothing at all on a soft body and raised no error to say so; only addForce worked. If you are testing an older published release, that is the behaviour you are seeing — republish to pick up the fix.
A ragdoll jitters or explodes
Adjacent bones overlap at every joint, so their capsules push each other apart on the first step. Put the ragdoll's bodies in a shared collision group and disable the neighbouring subgroup pairs — see Collision groups.
If it collapses rather than buzzes, check the joint limits. Setting a ragdoll-wide default replaces the per-bone anatomical presets, so one generous cone applied to every joint gives elbows and knees that bend both ways. Use per-bone overrides for the joints that are actually wrong. See Ragdolls.
Switching between Build and Preview breaks a scene with collision groups
Until 14 October 2026, a scene that used collision groups could corrupt the physics engine when you switched between Build and Preview. The first Preview could log Failed to create camera and fall back to the editor's viewpoint, and a later switch could show a blank scene, freeze the page, or log RuntimeError: call_indirect to a signature that does not match. This is fixed, and no workaround is needed: keep the collision groups and the camera as they are. Reload an editor tab that was open before the fix.
An animation is not found
Print gameObject.getAnimationNames() and copy the exact case-sensitive clip name. Confirm the mesh actually contains animation tracks.
On a character with no mesh asset of its own, the clips are the bundled model's, and they are listed in Animation playback API. That model gained a much larger set on 14 September 2026 and lost its old tpose clip, so a script written against the previous four names is the one case where an existing scene can start missing a clip it used to find.
A character moves but never changes pose
A character animates only if something asks it to. enableAutoAnimation(config) on its own does nothing — it also needs updateAutoAnimation() called every frame, and called at the end of update() so it reads the movement applied that frame rather than the previous one.
If it animates but never leaves idle, check that the script is actually setting velocity: the state machine reads getCharacterVelocity(), so a controller that moves the object by writing its position instead will look motionless to it.
A character's death or crouch clip leaves it floating
A character's clips keep the vertical movement of the hips, so a death, crouch or roll clip lowers the body to the floor, and only the horizontal drift of the root bone is removed to keep the model on its capsule. Before 9 October 2026 the engine removed all of the root bone's movement, so a character playing a death clip lay at waist height. Clips added with Add Animation were not filtered at all then, so a Mixamo clip from a separate file could walk the model away from its capsule. Both are fixed. If a character still slides away from where it stands during a clip, the clip is moving it horizontally on purpose and your script should move the character instead. See "Root motion" in Animation playback API.
A Mixamo character floats or sinks in another character's motion
A clip's hip height is recorded on the character it was downloaded for. Before 14 October 2026 it played unchanged, so a Y Bot motion lifted a shorter character off the ground and sank a taller one into it. Now a clip from a separate file has its hip height scaled to the model's as it loads, so the motions of any Mixamo character fit any other. If a character with unusual proportions, such as a large creature, still looks off at the feet or knees, download the motions you use for that character from Mixamo. See "External animations" in Animation playback API.
The console fills with PropertyBinding warnings, or a clip plays as a collapsed or twisted pose
The clip was made for a different skeleton from the model, or in different units. Print gameObject.getAnimationDiagnostics(), or open the model's animation preview in the inspector and read its Rig compatibility box:
"partial"with a list of missing bones, often fingers or toes, means the model leaves out bones the clip animates. Those tracks are dropped and the rest of the clip plays; the console gets one line for the clip rather than a warning per bone."incompatible"means no track names a bone in the model. Retargeting between different skeletons is not supported: export the motion from the same rig as the model. Mixamo motions are the exception: every Mixamo character shares one skeleton, and a motion from one plays on any other. Before 14 October 2026, a motion from another Mixamo character was"incompatible"on the characters that number their bone prefix (mixamorig1,mixamorig2and so on); those bones are now matched as the clip loads.- A
positionScaleof about 100, or about 0.01, means one file is in centimetres and the other in metres, which collapses or explodes the pose. Re-export one of them so their units match. Before 14 October 2026, a clip that starts lying on the floor, such as a get-up, could report apositionScaleit did not deserve, even on the model it was made for; it is now reported only beyond 20 either way.
See "Check that a clip fits the model" in Animation playback API.
An arm clip averages with the run instead of replacing it, or stops the legs
playAnimation plays a clip on the whole body and replaces the base animation, so an upper-body clip played that way freezes the legs, and two full-body clips blended together average every bone rather than one taking the arms. To hold a ball, aim or throw while the legs keep running, play the clip on an animation layer with a mask: gameObject.playAnimationLayer("hold", "hold_ball", { mask = "arms" }). At the default weight of 1 the layer replaces what is underneath on the masked bones and leaves the rest to locomotion; give a one-shot over it a higher priority. The call is safe to repeat every frame. See "Animation layers" in Animation playback API.
The console says an animation mask has no bone named something
A line such as Animation mask upperBody on Player: no bone named "Spine", so it is left out of the layer. means the model has no bone the mask named, so the layer plays on fewer bones than you meant. It is said once per object and mask. Names match loosely, so "RightHand" finds mixamorig:RightHand, but a rig with its own naming, such as upperarm_l, needs a table mask with the model's own names. Print gameObject.getBoneNames() for the names, and gameObject.getAnimationMaskBones(mask) for the bones a mask covers and the names it is missing. If no masked bone is left, or the clip animates none of them, playAnimationLayer returns false and the console says the clip animates none of the mask's bones. Only rotations play unless the options set translations = true.
An animation layer keeps playing after stopAnimation
Since 19 October 2026, playAnimation (even with a blendTime of 0) and stopAnimation() change only the base animation and leave animation layers playing; before then they stopped everything on the object. Stop a layer with gameObject.stopAnimationLayer(layer), or every layer with gameObject.stopAnimationLayer(). Layers are also invisible to isAnimationPlaying and getAnimationTime; read getAnimationLayer(layer) instead.
An FBX model is a hundred times too large or too small
meshScale multiplies a model after its units are corrected, and an FBX is converted from centimetres to metres first, so meshScale 1 draws a Mixamo character life size, as it does a GLB. Before 16 October 2026 the editor drew an FBX at meshScale 1 a hundred times too large, and 0.01 was the usual workaround. FBX characters, meshes, ragdolls and vehicles that had a meshScale of 0.1 or less were multiplied by 100 so they keep their size; a value you set to 0.01 since then now draws the model a hundredth of its size, so set it back to 1. Republish a published game to pick up the change.
A vehicle is a plain box
Every vehicle preset loads a bundled model — a pickup for the wheeled presets, a sport bike for the motorcycle controller, a tank for the tracked ones — and draws a box the size of its physical chassis only when that model could not be fetched. A box therefore means the model request failed rather than that the vehicle was never given one: check the browser console and reload.
A Chassis Mesh you chose yourself behaves differently. If that asset has been deleted from the project the vehicle does not fall back to a box at all — it fails to build, and reports the missing asset as a scene load issue. See When an object fails to load.
A vehicle will not move
Almost always this is the vehicle's own driving script rather than the physics. A driving script calls gameObject.setDriverInput(...) every frame from the shared input bus, so driver input set from anywhere else — another object's script, a diagnostic, the REPL — is overwritten on the very next frame. Zero driver input then lets the settled chassis fall asleep, and Jolt's vehicle step listener returns early for a sleeping body, so nothing moves at all.
To drive a vehicle from a test or a headless run, set the movement bus (moveAxisY for throttle, moveAxisX for steering) and let the vehicle's own script convert it. Do not call setDriverInput from outside that script and expect it to survive a frame.
physics_run_simulation answers this directly. A wheeledVehicle or trackedVehicle sample carries three fields, and between them they separate the three causes that all look identical if you read only the speed:
vehicle_driver_input— read back off the controller, so it is what the vehicle is actually being asked to do rather than what you last asked it.forward: 0while you believe you are applying throttle means something is zeroing it every frame.vehicle_wheel_contact— one boolean per authored wheel, in order. All false means the wheels are not reaching the ground: check the spawn height, the suspension length against the wheel radius, and that the ground collider is really there.body_active— false means the chassis is asleep. Non-zero driver input wakes it; zero input will not.
The run summary carries wheels_ever_in_contact and max_abs_driver_forward_input for the same question without reading every sample. Wheels in contact with a forward input of 0 is a throttle problem; wheels never in contact is a geometry or spawn-height problem.
Triangle-mesh colliders, including generated road and terrain meshes, do support vehicle wheel casts. If the wheels report contact, the ground is not the problem.
The editor Lua REPL reports success but nothing changed
The REPL is read-only by default, so create, update, and delete quietly do nothing until Apply scene changes is ticked—create returns nil and the others return false. Writes are also refused while a simulation is running, so stop the simulation first. If apply is on and the simulation is stopped, check the field names: update writes contract fields and fields the object already has, except id, type and soft (parent_id and parentId both set a 3D object's parent; GUI elements use parentObjectId). It skips anything else silently, and returns true when it dispatched an accepted field, not when the server kept it: unlike create, it does not check bounds, references or whether the value survives a reload, so collisionType = "box" on a cube is accepted and then lost. create skips nothing silently: a field that does not apply to the type, or a value it cannot keep, raises an error listing each problem.
Editor Lua globals are missing
gameObject, scene, input, and gameStorage only exist in Lua attached to an object or a scene during simulation. The editor REPL and scripting_run_editor_lua get a single editor global instead. Conversely, editor does not exist inside an attached script.
An MCP tool cannot find a project or scene
Call accounts_list first, use the returned account ID, then list projects and scenes within that same account. Scene IDs are UUIDs; project and account IDs use prefixed IDs.
An archived project returns not_found from every tool, not just from projects_list, and so does everything inside it. Unarchive it in the editor if you meant to keep working on it.
An MCP tool says the scope is insufficient
The message names the scopes the call needs. Re-authorize the client and approve them — retrying will not help, because the token itself is missing the grant.
The most common surprise is that scopes are flat: objects:write does not include objects:read. A client granted only write access can create objects but cannot list them. See Connect an MCP client.
A project branch will not merge
Open the branch drawer and choose Review changes again after editing either main or the branch. A review describes the two copies at that moment; later changes invalidate it. MCP reports stale_review and needs a new branches_diff review id. If an older editor write reports stale_write after a merge, reload before editing again.
Wait for active AI turns on both sides to finish (turn_in_progress). Resolve every conflict with Keep main or Take branch (unresolved_conflicts). Each choice uses the whole row or top-level project setting, including when one side deleted a row the other edited. Picking different sides can leave a missing parent, scene, script, material or asset; invalid_merge means the combined references are invalid. Correct the source or choices, then review again. Nothing is merged until validation succeeds.
A branch is read-only, will not publish, or still uses storage
Creating, editing and merging branches require Studio. After a downgrade, retained branches remain readable and can be closed. Closed branches are always read-only (branch_closed); find them under Closed branches or MCP branches_list, then use version history to inspect their source. projects_list shows only open branches.
Branches support local preview, but publishing and hosted multiplayer tests require merging into main first (branch_project). Publish main again to update its public game. Running rooms keep their existing release.
Closing a branch retains its files and history. Unique files still attached to it count toward storage; shared files count once. Files retained only by checkpoints are exempt. Permanently deleting main removes its branch family. A checkpoint used as a branch base or by an applied merge is protected from deletion and pruning while referenced (protected_checkpoint), even if unpinned. See Project branches.
A checkpoint will not restore
- "The AI is still working on this project." A restore is refused while an AI assistant turn is running, because the turn would keep writing over the restored project. Wait for it to finish, or stop it, then restore. Through MCP this is the
turn_in_progresserror. - An object, material or asset "could not be restored", or an asset's file "is no longer stored". Part of an older checkpoint can no longer be saved as it is. Nothing was changed, and the project is as it was before you tried. Restore a different checkpoint, or contact support with the checkpoint's name.
- The upgrade is offered instead. Taking and restoring checkpoints is part of the Creator and Studio plans. See Version history.
An MCP direct upload says no file has arrived
A direct upload has two legs: the MCP call, and a PUT of the file to the storage URL the call returned. A proxy or sandbox may allow the first and block the second, and assets_complete_direct_upload then answers that no file has arrived yet — which is not a storage outage. Send the PUT with the returned headers (the generated curl is already shell-escaped; keep it so), or fall back: assets_create_upload_session gives a link for you to upload through the browser, and assets_upload_from_url fetches a publicly reachable file. An unattached upload is kept about 24 hours (complete_by) before cleanup, so a retry within that time can complete it.
An MCP call returns "Internal error" or rejects an argument name
A call that names an argument the tool does not take, or leaves out a required one, returns validation_error listing unknown_arguments, missing_arguments and accepted_arguments, and the message suggests the intended name when one is close, such as object_type for type. Fix the call against accepted_arguments. Before 14 October 2026 the same mistake came back as JSON-RPC -32603 Internal error; if a client still shows that for a misnamed argument, update it or refresh its tool list. See Connect an MCP client.
MCP physics or editor Lua says the editor is unavailable
physics_run_simulation, scenes_take_screenshot, and scripting_run_editor_lua all run inside a real editor tab rather than on the server. Open the exact project and scene in a visible editor tab, let it finish loading, keep the tab active, and try again. Each request waits only briefly for a tab to pick it up — 20 seconds for a screenshot, 30 seconds for editor Lua, and for a simulation the run's length plus 10 seconds (a background run, which every run longer than 10 seconds is, reports editor_unavailable after 5 seconds with no claim, and a blocking call answers within 45 seconds). A tab that is still loading when a simulation or screenshot request arrives picks it up as soon as it is ready, within that window; an editor Lua request is not recovered that way, so if the tab was still loading the 3D engine, retry once the scene is on screen.
If an editor tab picks up a screenshot or editor Lua request but does not finish it in time, the call fails with editor_timed_out instead of editor_unavailable. The tab found the request and started it, so do not retry editor Lua blindly: the script may already have changed the scene. Check the scene, or reload the tab, before running it again. A screenshot that times out is safe to retry.
A simulation no longer needs the tab to be visible, and the "The editor tab must be visible" error no longer occurs. A hidden or background tab, or an automation browser whose page reports itself as hidden, runs the simulation unpaced: it steps the run's whole length of physics as fast as the tab allows, and the result says pacing: "unpaced". Such a tab claims the run straight away, and only gives way if a visible editor with the same scene open takes it within 1.5 seconds, so a slow-to-wake background tab is no longer reported as editor_unavailable. A run that keeps reporting progress is not expired for being slower than the wall clock, either; it ends with expired only once its tab stops reporting, or 5 minutes past its length. Since 14 October 2026 a frame that covers no time no longer calls a script's update() with deltaTime 0, which some scripts (a door calling moveKinematic, for example) rejected in a hidden tab. If your client automates a browser that is not signed in, call scenes_open_editor_link and open the editor_url it returns there. The link opens this scene's editor without signing that browser in. See the MCP tool guide for how long it lasts and why a reload goes to the sign-in page.
A screenshot that fails with screenshot_failed and a message that the WebGL context was lost is a different problem: the browser dropped the tab's GPU context before or during the capture. Earlier, this came back as a blank image. The browser usually restores the context once the tab is visible again, so bring the tab to the front and retry. A failure saying the screenshot canvas has no usable image means the viewport was zero-sized or beyond the browser's canvas limits — keep the scene visible, resize the editor window and retry. A nearly black image, on the other hand, can be the correct picture of a dark scene: compare with a normally lit starter scene before treating it as a failure.
A multiplayer game will not publish
The Publishing section lists each refusal with the scene, object, and script it is about, and says what to change. The ones new authors meet most:
- A scripted object has no role. Every scripted object that is not bound to a player slot, and is not a camera or GUI element, needs its Script runs on setting (
multiplayer.scriptRole) set to"authority"(runs on the room server, everyone sees it move, gameplay collides with it) or"presentation"(decoration, run in each browser, no collider). In a project created before 25 September 2026, the old starter Fall Zone, Fall Detector and Restart button are the usual source — delete them. A new project's starter scene already publishes as a multiplayer game. - A control script reads the clock, or uses the result of
multiplayer.fire,setController,setPrimary,hold,release,spawn,despawn,destroy,moveTo,followPath, or object creation. The player's browser replays that script and cannot know those answers. Count time fromdeltaTime, and call those functions for their effect only. - A script other than the scene script calls
scene.loadSceneorscene.restart. Only the scene script may change scene in a room. Have the player ask with an action, and change scene from the scene script'sonPlayerAction. - A GUI, camera, or presentation script changes the game — a state setter,
setVar,pauseGame,fire,sendEvent,destroy. Send an action and let the scene script do it. - Too many replicated objects or wheels. A room shares at most 32 placed objects per scene — authority scripts plus objects with Replicate on (
too_many_replicated_props) — and at most 10 wheels per vehicle (too_many_vehicle_wheels). - Two multiplayer settings contradict each other (
conflicting_multiplayer_settings): a player's character or vehicle declared presentation or marked to replicate, an object both replicated and presentation, or a camera, GUI element or particle emitter declared authority. Remove one of the two. A setting nothing reads where it is — Follow local player on anything but a camera, a respawn delay or kill height on anything but a spawn template, a script role on an unscripted object — is only a warning (ignored_multiplayer_setting). - A weapon is unknown or on the wrong object.
unknown_multiplayer_weaponmeans an object's Weapons setting names a weapon the project's combat library does not define — usually one renamed or deleted since.unsupported_weapon_ownermeans weapons on something other than a character or vehicle. A weapon nothing carries is a warning (unequipped_multiplayer_weapon), and in a roommultiplayer.firereturnsnot_equippedfor a weapon the firing object does not carry. - A replicated object cannot be shared.
unreplicable_multiplayer_objectmeans Replicate is on a soft body, on water, or on another object the room server cannot move. To move water for every player, remove Replicate and give the water its own script declared"authority".static_replicated_objectwarns about a static, unscripted object marked to replicate: it never moves and still takes one of the scene's 32 shared objects. - A player slot is on something other than a character or vehicle. Nothing else is shared with the other players, so a slot there moves nothing. Remove the slot and give the object a script role (
multiplayer.scriptRole) instead, or turn on Replicate if it is an unscripted physics object. - Nothing a player does can reach the game (
missing_multiplayer_control). Add amultiplayer.playerSlotto a character or vehicle, mark a character or vehicle as a spawn template, or declare authority actions in the project's multiplayer settings. And if it declares authority actions, at least one scene needs a scene script, because only a scene script'sonPlayerActionreceives them. - A spawn template cannot be copied into a room. Give each template in a scene its own name, no player slot — hand each copy to its player with the spawn's
controlleroption instead — and no script below its root. A template may not be or contain a camera, a GUI element, a constraint, a ragdoll, cloth or another soft body, a height field, or water, and a scene may declare at most 32. - A lobby choice names a template that does not exist (
unknown_lobby_choice_template). An option in the project's Lobby choices names a spawn template that no published scene has. Mark the object it means as a spawn template, fix the spelling to match the object's name, or remove the option'stemplate. - A lobby choice's image is not a picture (
invalid_lobby_choice_image). An option'simagenames an asset the project does not have, or one that is not a PNG, JPEG, WebP or GIF. Upload the picture as an asset and use the idassets_listgives it, or remove the option'simage.
An MCP client reads the same list, with a code and a hint for each item, from projects_publish_check. See Build and test a multiplayer game.
A published game shows "Game unavailable"
If the message underneath reads The multiplayer metadata is invalid., The multiplayer combat templates are invalid., or The multiplayer event schema is invalid., the live release's multiplayer settings are malformed. Republish the project; publication lists anything that has to change first.
If it reads This game uses unsupported runtime schema followed by a number, the live release was built for an older player. Republish the project. Every game published before 8 October 2026 needed this once.
In Preview, onPlayerJoined never fires or getGameState raises an error
Editor Preview of a multiplayer game is single-player: its start screen says Single-player preview — playing as slot N, and the slot you pick only decides which character or vehicle your controls drive. There is no room, room server or other player in Preview, so onPlayerJoined is never called, and the state calls (getGameState, setGameState and the other partition getters and setters) raise "multiplayer state requires a multiplayer room; editor Preview has no room". sendAction returns false, "unavailable", and multiplayer.spawn returns nil, "unavailable" and copies nothing, so a game that spawns each player's character from onPlayerJoined has no player character in Preview. Nothing is wrong with the script. Test these with Test in a room on Preview's start screen, which runs your draft in a real room without publishing it, with a team member (or your own second signed-in browser profile) joining from the invite link as the other player. You can also publish the game and test in a room on the published URL. See Build and test a multiplayer game.
Test in a room will not start, or the game will not begin
The panel names the reason. The common ones:
- "Multiplayer test rooms are not available on this plan yet." Test rooms are on the Creator and Studio plans.
- "Your team already has a test room open." A team has one test room at a time, across all its projects. Stop the other one first. When the open room is another project's, the message names it ("Your team already has a test room open for Kart Rally. Stop it first.") and the panel offers Open Kart Rally, which opens that project in a new tab, and Stop that room, which asks you to confirm and then ends that room for everyone in it.
- "Your team has used today's 60 included test-room minutes." The number is your plan's (60 on Creator, 120 on Studio), and the included minutes reset at midnight UTC. To keep testing before then, an account admin can turn on Pay for extra minutes from credit under Test-room minutes on the Subscriptions page. Starting more than 6 tests in an hour is also refused for a while.
- "… and reached its $1.00 daily limit for extra minutes." Extra minutes are on, and today's have cost as much as the daily limit your team set. Raise or clear the limit on the Subscriptions page, or wait for midnight UTC.
- "… and its credit cannot pay for another minute." Extra minutes are on, but the credit balance is used up. Add credit on the Subscriptions page.
- "Test rooms are paused for now" or "No multiplayer servers are available right now." Published games are served first, so test rooms pause before they would take a server players need. Try again later.
- "No server became available in time." The room waited for a server and none came before it expired. Press Test again.
- The room is open but Start game is refused. A test room keeps the game's own rules: the minimum number of players, every required lobby choice, and everyone present ready. The message says which, such as "The room needs 2 players to start; 1 is here." or "PoodleDoodle hasn't picked a team." Invite a team member with the panel's link, and make the choices in each player's lobby.
- The invite link says the page cannot be found. Only members of the project's team can join. Accept the team invitation first, then open the link again while signed in.
A script works alone but raises an error in a multiplayer room
In a room each script runs either on the room server or in players' browsers, and each side may only call part of the API. The error names the call and where it may be used instead. Two patterns cause most of them:
- Presentation from the room server. Sounds and music, GUI setters, light changes, the active-camera calls, and
gameStorageraise in the scene script and in a character's or vehicle's control script, and the error stops the rest of that callback — so a control script that callsplaySoundpart-way throughupdateskips everything after it. Move those calls to a GUI, camera, or presentation script. Publication does not catch this one; only a room does. Animation calls are the exception: in a control script they are accepted and do not raise. - Gameplay from a browser. A GUI or camera script calling a state setter,
setVar,pauseGameorresumeGame, or moving an object other than its own — except an unscripted, collider-free decoration such as a light or a particle emitter, which a presentation script may move; anything gameplay collides with, anything replicated and anything a player controls is still refused. - Slow motion.
scene.setTimeScaleraises in every script in a room, because the room's simulation is shared and runs at a fixed rate. Publication warns about it in the scene script withmultiplayer_time_scale, naming the lines. Remove the call, or keep slow motion to single player, and show a moment to one player in a room with camera, GUI or sound effects instead. - Button prompts that read nil.
input.deviceandinput.gamepadStylebelong to each player's browser and are never sent to the room, so they arenilin the scene script, control scripts and authority objects. They do not raise, but a prompt chosen there never changes. Publication warns withinput_device_outside_presentation, naming the lines. Move the prompt into a GUI script, and fall back withinput.device or "keyboard".
The scene script does nothing in a room, and no player sees an error
In a room the scene script, and any object declared "authority", runs on the room server, and its errors are reported there — never in a player's browser console. An error stops the rest of that callback, so a score that never changes or a round that never resets usually means a line in the scene script raised. Open the project and choose Script errors in its Publishing section to read the errors the game's rooms caught, with the object, script, callback and message, or run the scene in the editor, where every script's errors are shown as they happen. A presentation call from the scene script, such as setting a label's text or playing a sound, is the most common cause and raises only in a room.
Nothing spawns in a room
Read the second value multiplayer.spawn returns. unavailable on every call means the script is not an authority script, or the simulation is not running. unknown_template means no template in the scene has that name. spawn_limit means 32 copies are already live, so look for copies that never end. If the copy appears but a player's camera stays put, aim the camera at the template rather than at a placed character. See Build and test a multiplayer game.
My character stutters or snaps back in a room
Your own character moves on your screen before the room server confirms it, and is corrected when the two disagree. Persistent snapping means the control script takes a different path on the room server than on your browser. Check that it does not branch on the result of a call only the room server can answer, and that nothing else writes to the character every frame. A single snap after a respawn or teleport from the scene script is expected.
A player drifts sideways with no input
Something solid overlaps the player's capsule, and the character is pushed out of it every frame. The usual cause is decoration attached to the player or to its camera, such as a first-person weapon, a hat or a backpack, built from cubes or cylinders. Turn on Visual Only on each part (collisionType: "none" through MCP), so it has no collider. Do not use Trigger Volume for this: a trigger still stops raycasts and still fires trigger callbacks. In a room, unscripted parts under a "presentation" object already have no collider. See Physics, collisions, and triggers.
A moving platform leaves its rider behind or gets knocked away
Give the platform Motion Kinematic (scripted) and move it every frame with moveKinematic(position, rotation, deltaTime). setPosition teleports a body with no velocity, so a rider is left behind; a dynamic body with Gravity Factor 0 is knocked away by whatever lands on it. A character is lifted and lowered by the platform but carried sideways only if its control script adds getGroundVelocity(). See Physics, collisions, and triggers.
Players walk through a moving object in a room
The object is declared "presentation". A presentation object (presentation_object_without_collider) has no collider in a room — players, raycasts, triggers, and shots pass through it — and each browser moves its own copy. If gameplay should touch it, declare it "authority"; if it is purely decorative, turn on Visual Only.
Water does not move, or nothing floats, in a multiplayer room
The script that raises or lowers the water must run on the room server. Give the water object its own script and set its Script runs on setting (multiplayer.scriptRole) to "authority"; every player's water, and the buoyancy and swimming it gives, then follows it, including for players who join later. Publication refuses the two other ways people try: Replicate on water (unreplicable_multiplayer_object), because nothing moves unscripted water, and a water script declared "presentation" (presentation_object_with_physics), which takes the water out of the physics world on every machine, so nothing floats or swims. See Build and test a multiplayer game.
In a room and out of one, bodies resting in water wake whenever it moves, so a crate on the bottom floats up as the water rises without any addForce to nudge it. Before 15 October 2026 a sleeping body stayed where it was until something else woke it.
A multiplayer HUD never receives events
onMultiplayerEvent runs on GUI, camera, and presentation scripts only — not on the scene script, which runs on the room server. Move the handler to a GUI script. For your own events, check that each name is declared in the project's presentation event schema and that the release was republished after declaring it.
Other players' characters animate with the wrong clips
In a room every browser animates every character from its movement, and it uses the default clip names — idle, walk, run and the rest — for everyone else's character. A custom enableAutoAnimation configuration in a control script applies only on the controlling player's own screen. Give a multiplayer character a model whose clips use the default names; the bundled default character does. If a character stops animating on one browser, check whether a GUI or camera script played or stopped a clip on it: that takes the character over on that browser, and the automatic animation stands down. An animation layer does not: it plays over the automatic animation, and only from a camera, GUI or presentation script. A layer that shows on one browser and not another was not played on every browser; drive it from replicated state, such as avatar state, on each one. See "Character animation in a room" in Build and test a multiplayer game.
Characters' legs stutter when they move in a room
A script is choosing the locomotion clip itself, from how far the character moved since the last frame. In a room the drawn position advances unevenly: other players' characters move in steps between network updates, and your own is nudged by the room server's corrections. The computed speed jumps back and forth across the idle threshold and between directions, and every change restarts the crossfade, so the legs never settle into a clip. The simplest fix is to stop calling playAnimation in a room and let the engine animate the character: every browser already plays idle, walk, run, the eight travel directions, turns, jump, fall, land and crouch for every character, smoothing other players' movement and starting afresh after a teleport. If the script must drive locomotion itself, smooth the velocity (exponentially, over about 0.1 s), start moving above about 0.6 m/s but stop only below about 0.25 m/s, and switch clip only once the new choice has held for about 0.15 s. Do not change a clip's speed every frame by tiny amounts either. See "Character animation in a room" in Build and test a multiplayer game.
A carried ball jumps out of the hand on other players' screens
multiplayer.hold draws a carried prop at a fixed offset from its holder, so it does not follow an animated arm, and the room server never poses a skeleton. To put it in the hand, call char.attachToBone(ball, "RightHand") from a camera, GUI or presentation script on every browser while multiplayer.getHolder(ball.id) == char.id, and char.detachFromBone(ball) once it is not. On a browser that only displays the ball, the attachment is visual only: the ball is drawn on the bone, but its body stays where the room server puts it, and detaching hands it back to its hold offset or its flight. Release the ball from the throw's release marker with an animation timeline so it leaves the hand on the right frame. See "Carry and throw props" in Build and test a multiplayer game.
A player cannot send or receive preset messages
If the message button and the lobby's message row are missing for one player, a linked guardian has turned preset messages off for them, and nothing is delivered to them either. If a message is refused, the player sent too quickly: one message a second and eight in 30 seconds are allowed. A player never receives messages from someone they have blocked or who has blocked them. From a script, multiplayer.sendPresetMessage returns the reason as its second value. See Build and test a multiplayer game.
A room says "Reconnecting…", "This game was updated" or "Connection lost"
The room status in the top-right corner of a published game says what happened to the player's connection:
- Starting room server… — the room is waiting for a server to claim it. Nothing is wrong yet; see "Test in a room will not start" for the refusals that follow when none comes.
- Synchronizing game… — a server has the room, but this browser has not yet received its full state. A connected socket alone does not mean the game is ready.
- Reconnecting… — the connection dropped and is on its way back. Wait; nothing needs doing.
- This game was updated — reload to start a new room. — the game was republished, and the player reloaded into a room still running the earlier version. Republishing does not disconnect a running room: each room keeps the version it started on until it ends, and only new rooms use the new one. Press Reload and start or join a new room.
- This room has ended. — the room is over. Press Reload to go back to the lobby.
- Connection lost — reload to rejoin. — the connection could not be renewed. Press Reload; the player rejoins the same room and slot if it is still running.
Before 15 October 2026, republishing a game cut off every player in a running room with Connection lost within a few minutes. No republish is needed for the fix.
Publish game is disabled
The Publishing section shows the exact blocking reason. Resolve its readiness errors, wait for an existing build to finish, or unpublish another game if the account has reached its active-game limit. Only account administrators can publish. One error new authors meet is a Lua syntax error (lua_syntax_error): publishing parses every script without running it and names the script, where it is bound and the line. Fix that line and check again; a script that parses is not thereby correct. lua_validation_unavailable means the checker itself could not run — try again, and contact support if it persists.
The initial scene needs an active camera
Open the project's initial scene, add or select a camera, and enable Active Camera. A camera in another scene does not satisfy the initial-scene readiness check. The same applies to the Multiplayer start scene chosen in Game startup ("The Multiplayer start scene needs an active camera.") and to an authored menu scene ("The menu scene needs an active camera."). A multiplayer game is also refused when a room option or a scene-script loadScene names the solo-only menu scene, or a room option names a scene that is not active.
Publishing failed or appears stuck
Publishing progress is persisted and updates automatically, so reload the project page first. A failed release shows its version and the error that stopped it, or says it was built but could not go live. Correct the project and publish again. A build that stops responding, for instance after a worker restart, is ended automatically within about half an hour with Publishing stopped responding and was ended, and can then be retried.
A republish failed but the old game still works
This is expected. A new release does not replace the live version until its bundle and assets are ready. A failed republish leaves the previous successful release active at the same URL.
A public game URL returns 404
Confirm the game is still published and that the complete generated hostname was copied. An unpublished game, deleted project, malformed hostname, unknown hostname, or project with no successfully activated release returns the same generic 404 response.
The published game works on desktop but not on a phone
Test the public URL on the target device and review the Publishing warnings. Large or unoptimized assets can exhaust a phone's memory even when the project works on a desktop. Reduce textures and meshes, let convertible assets finish optimizing, then republish.
A game is smooth on desktop but stutters on a phone
A desktop graphics card hides costs a phone pays in full, so check on the phone itself: open the published game with ?debug and read the meter (see the next section). An uneven frame rate between 30 and 55 fps on a 60 Hz phone screen feels worse than its average suggests, because frames alternate between one and two screen refreshes.
- Screen effects are usually the cause. In one test scene, ambient occlusion at Medium held an iPhone 12 mini to 36 fps, 43 at Low and 55 with it off. With occlusion already off, Bloom was the difference between 36 and 60 fps on an iPhone 13 Pro Max. For a game played mostly on phones, leave both off in Scene Settings, and turn on Adaptive resolution under Performance. A published game also turns them down on a phone that stays below 55 fps, but it takes several seconds to settle on a player's first visit (later visits on the same device start where the last one settled), so a phone game is smoother from the first second with them off. See "Ambient occlusion is lower or missing in a published game" below.
- Hidden GUI still runs its scripts. A panel hidden on a phone, such as a tuning or debug panel, keeps running every
update()on its buttons and labels. Read each button's own variables once ininit(), return early while its panel is closed, and refresh only when the value it shows has changed. - HUD text does not need every frame. Format and
setTexta label about ten times a second, and only when its text differs from what it shows. Writing identical text is ignored by the renderer, but the Lua formatting and any wrapper aroundsetText, such as a word-wrapping mirror for a compact touch layout, still run on every call.
A scene setting applies to every player, so turning an effect off on phones also turns it off on desktop. Republish after changing settings or scripts: the public game keeps its old release until you do.
A game runs slowly and I cannot tell why
Press Shift + F in the editor to show the frame-rate meter. In a published game, add ?debug to the game's URL to show the same meter there. Under the graph it lists, averaged over the last quarter of a second:
drawsandtris: the draw calls and triangles of the whole frame, across every render pass.frame: the CPU time of the whole frame.sim, withscriptandphysicsunder it: the CPU time of the simulation, its Lua and its physics step.simends with the number of steps per frame, such as2 steps. Below 30 fps a frame runs several steps, and each step runs every script and the physics again, so these times grow with the step count as well as with what each step costs. Divide by the steps to compare the cost of one step.render, with one line per pass (shadow,scene,ao,bloom,output), each with its own time, draws (d) and triangles (t). The passes' draws add up to the frame's.
The times are CPU times: what it took to run the scripts and physics and to send the draws, not how long the graphics card took to draw them. A game held back by its graphics card shows a low frame rate with modest times. Most draws in scene point at too many separate meshes, in shadow at shadow-casting lights, and in ao at ambient occlusion, which draws the scene a second time. Before 16 October 2026 the renderer's own counter, renderer.info.render, held only the last pass of a frame when bloom or ambient occlusion was on, often a single draw; it is now the total for the whole frame.
Below those, the meter has render-health lines, covering the same quarter of a second:
gapandcb: the longest time between two frames, and the longest the page itself spent on one frame. A slow frame has both long; a stall outside the page has a longgaparound a shortcb.progs,newand, in brackets, the total: shader programs held, compiled in this window, and compiled since the meter was switched on.newthat never falls to 0 means materials keep recompiling. Preview and published games compile the scene's shaders behind the loading screen ("Preparing shaders") before the first frame, sonewis usually small from the start; shadow and post-processing passes still compile on the frame that first draws them.geoandtex: geometries and textures held. Numbers that only ever grow point at a leak.ctx, as live/created, andlost: the page's WebGL contexts. More than one live, or any lost, is worth reporting.shader err, only once a shader program has failed to link, with how many of those failures came with a lost context in brackets (at ctx loss). A context on its way down fails programs before the page is told it is lost, so those errors are part of the loss, not broken materials; the console says so in an[Airogel render]warning. Errors that recur after the context comes back or after a reload are real.visibleorHIDDEN, andfocusorno focus: what the browser says about the page.- When a frame stalled for a quarter of a second or more, a diagnosis:
stall inside frame: shader compile,stall inside frame: page code or GPU sync,stall between frames: browser/GPU present, not page code,1 frame/s around short callbacks: investigate browser/GPU presentation, orpage hidden: browser throttles frames. While the WebGL context is lost the line readsWebGL context lost: browser/GPU reset, nothing draws until it is restoredinstead; Preview compiles the scene's shaders again before it resumes.
The same snapshot is on the meter's element as JSON, so you can copy it rather than transcribe the overlay: run document.querySelector("[data-frame-stats]").dataset.renderHealth in the browser console. While the meter shows, each stall also logs a console warning beginning [Airogel render], at most one every five seconds.
Where the time goes decides the fix. Many draws in scene from a lot of plain scenery are batched automatically in Preview and published games unless a script looks those objects up; see "Performance: point light budget and render scale" in Editor basics. A high script time usually means objects looked up every frame: find them once in init() and keep them (see Lua scripting overview). A high physics time is most often soft bodies; see "Soft bodies cost the most" in Physics, collisions, and triggers.
A game runs at about one frame a second
A game that holds a steady rate of about one frame a second, even in a small scene, is usually being held back outside the page. Show the meter (Shift + F, or ?debug on a published game) and read the diagnosis line:
1 frame/s around short callbacks: frames have arrived about a second apart, twice or more in a row, around short page work. That is the cadence browsers fall back to when something outside the page stops presenting the window: covered, minimised, on another workspace, or, on Linux under Wayland, a compositor withholding frames from a window it does not consider active (common for a window driven by automation in the background). The meter cannot tell which, and a visible, focused page can still be affected. Raise the window or click into it, and compare repeated foreground runs; the console logs the same advice in an[Airogel render]warning. On Linux, running Chrome under XWayland (--ozone-platform=x11) shows whether the compositor is the cause.stall between frames, with a longgapand a shortcb: the browser did not ask for the next frame, so the page had nothing to run. Some systems hold a window that is covered by another window, on another workspace or minimised to about one frame a second, and can still report it as visible and focused. Bring the game's window to the front with nothing over it, try it full screen, and try another browser.page hidden: the browser thinks the tab is in the background and throttles it. Switch to the tab.stall inside frame: the page's own work took that long. Withshader compileit settles once every material has been seen; otherwise report it.
To report one, send the browser and its version, the operating system, the graphics card, whether the window was covered or on another screen, the meter's lines (or the dataset.renderHealth JSON above) and any [Airogel render] warnings from the console.
A scene with many point lights runs slowly on integrated graphics
Every point light is shaded on every lit pixel of every lit material, wherever it is in the scene and whether or not its light reaches that pixel. A light's Distance only fades its light to nothing and does not skip the work, and a light at intensity 0 costs the same as a lit one. So fifteen lanterns along a valley cost as much at one end of it as at the other, which weak graphics hardware notices. Hiding lights as the camera moves away is no better: every change in how many lights are shown recompiles every lit material, a hitch each time.
Set a Point Light Budget in Scene Settings › Performance. Preview and the published game then shade only that many point lights at once, the ones brightest near the camera, fading them in and out as it moves. Give each local light a Distance a little past what it should light, so the budget can tell which ones the camera is out of reach of. Turn Cast Shadow off on point lights that do not need shadows: a shadow-casting point light renders the scene six times a frame into its shadow map, and is never budgeted. If that is not enough, lower Render Scale (0.5 shades a quarter of the pixels) or turn on Adaptive resolution. The editor always shows every light at full resolution, so compare in Preview, or with ?debug on the published game. The publish check warns about this as point_light_cost when a scene has more than 8 point lights without shadows and no budget. See "Performance: point light budget and render scale" in Editor basics.
A scene with soft bodies runs slowly
Soft bodies are the costliest physics there is. Each one costs roughly its vertex count times its Iterations on every physics step for as long as it is awake, against almost nothing for a rigid body. A soft body sleeps, and then costs nothing, only once it is still, and one inside a trigger volume never sleeps, because a trigger keeps what is inside it awake. With the meter's physics line high, this is the first thing to check.
A jelly ball looks the same at Radial segments 12 and Vertical segments 8 (segmentsPhi and segmentsTheta), Solver iterations 5 or fewer and a Bend constraint of distance (the default) or none rather than dihedral as at denser settings, and has fewer than half the vertices of the default sphere: pressure already holds a ball's shape. Use a few soft bodies, not many, and keep them out of triggers. The publish check warns about this as soft_body_cost. See "Soft bodies cost the most" in Physics, collisions, and triggers.
A game runs in slow motion on a slow computer
In single player a frame slower than 30 fps is split into several steps of at most 1/30 s each, up to half a second per frame, so the game keeps real time down to 2 fps. Below 2 fps, or when the scripts and physics are themselves what makes each frame slow, it takes fewer steps and runs in slow motion rather than stalling: find out which with the frame-rate meter above. Before 16 October 2026 every slow frame was a single step, so any game below 30 fps ran in slow motion.
Because of this, below 30 fps update, onCollisionStay and repeating timers can run several times between two frames you see. A script that counts updates as frames, or adds a fixed amount each update, now speeds up on a slow computer; add up deltaTime instead. See "Slow frames" in Scene scripts, variables, and storage.
Ambient occlusion is lower or missing in a published game
In Preview and published games, ambient occlusion adapts to the player's hardware. When the game stays below 30 fps on a computer, or below 55 fps on a phone or tablet, it steps down, first to lower qualities, then to Low drawn from the scene's existing depth, then off. With occlusion off, Bloom turns off next. Each step is a trial. On a computer, a step that does not make the game faster is undone and adapting stops. A phone or tablet keeps it and tries the next one, because some steps save little on their own while one further down saves a lot. It climbs back only after a sustained stretch above 50 fps (about 58 fps on a phone or tablet), and a phone or tablet does not climb back to a step it has already given up, because phones slow down as they warm up. Each device remembers where it settled in each game and starts its next visit there, still climbing back when frames are fast; clear the game site's data in the browser to start from your settings again. On a computer that holds 30 fps, or a phone that holds 55, nothing changes, and the editor always shows your setting. Meshes wholly beyond linear fog's far distance get no occlusion in any of them, since the fog hides them. See "Scene Settings" in Editor basics.
A phone judges the average frame, not the typical one. A game that alternates smooth and slow frames on a 60 Hz screen can look fine by its typical frame and still stutter; the average catches it.
A game that also looks softer than in the editor is rendering below full resolution: Render Scale in Scene Settings › Performance is below 1, or Adaptive resolution is on and the device stayed too slow (below 30 fps, or 55 on a phone or tablet) with occlusion and bloom already off, which lowers the resolution to three quarters of the Render Scale and then to half. It climbs back after a sustained stretch of fast frames.
A phone also renders every game at no more than 1.25 device pixels per CSS pixel, before Render Scale (1.5 on a tablet, 2 on a computer). Phone frames are mostly paid per pixel, so this is where they save the most, and a game looks a little softer on a phone than on a computer even at full resolution.
A navigation path comes back nil or goes the long way round
The navigation mesh bakes the first time a run asks for it, in a background worker in the editor and published player, and a large scene takes a few seconds. Until then getPathToTarget, getRandomNavPoint, scene.findPath and scene.getNearestNavPoint return nil, so call them again on later frames rather than treating the first nil as unreachable.
If paths still come back nil, or detour round the block instead of following a sidewalk, check the scene's navigation cell_size first. A cell larger than the agent radius closes narrow walkways, and the browser console warns when it is. Leave it unset for the default of half the agent radius. See "Cell size and narrow walkways" in Vehicles, constraints, ragdolls, and navigation.