# physics.layer-unknown

> Talos next · Since 0.6

an entity's `layer` (or a camera's `layers`, `hideLayers` or `rig.collisionLayers`) names a layer the project does not declare, and the scene has no table the `layer-unknown` rule could check it against (no project, no `meta.layers`) or the entity was spawned after the check; the entity is put on `default`. Reported once per name, on stderr and by `World::layer_problems`. As the `layers` option of `ctx.world.raycast` / `shapeCast` it is thrown as a `RangeError` and the cast is not made

| | |
|---|---|
| Severity | `warning` |

## Meaning

an entity's `layer` (or a camera's `layers`, `hideLayers` or `rig.collisionLayers`) names a layer the project does not declare, and the scene has no table the `layer-unknown` rule could check it against (no project, no `meta.layers`) or the entity was spawned after the check; the entity is put on `default`. Reported once per name, on stderr and by `World::layer_problems`. As the `layers` option of `ctx.world.raycast` / `shapeCast` it is thrown as a `RangeError` and the cast is not made

## Fix

declare the layer in `argus.project.json` `layers` (or the scene's `meta.layers`), or fix the spelling the message suggests
