> For the complete documentation index, see [llms.txt](https://docs.aethercube.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aethercube.fr/developers/content-packs/troubleshooting.md). Agents can also search and read this documentation through its [MCP server](https://docs.aethercube.fr/~gitbook/mcp).

# Troubleshooting

A pack that does not show up, or shows up wrong, almost always has one of the causes below. Find the symptom, then read the server log, then the client log.

## On the server

A pack that breaks a rule is refused when the server loads it. The server logs the reason and the other packs still load. Read the log at start-up.

| Symptom                                 | Likely cause                                                                                                                                                                                                                                                                    |
| --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The pack is not in the log at all       | `content_packs.enabled` is `false`, the pack is not in `content_packs.directory`, or it is neither a folder nor a `.zip`.                                                                                                                                                       |
| `pack.json` is refused                  | An unknown key, a missing required field (`format`, `namespace`, `name`, `version`), `format` not `1`, or a namespace that is `core` or `aethercube`.                                                                                                                           |
| A path is refused                       | A path segment outside `[a-z0-9_.-]{1,64}`, a path over 200 bytes, an extension that is not `json`, `vox`, `png`, `jpg`, `wgsl`, `txt` or `md`, or more than 4096 entries.                                                                                                      |
| A file is too large                     | JSON over 1 MiB, an image over 4 MiB or 2048 by 2048 pixels, a `.vox` over 2 MiB, a `.wgsl` over 128 KiB, a `.txt` or `.md` over 64 KiB, or a pack over 64 MiB.                                                                                                                 |
| A model is refused                      | More than 64 nodes, parts or sockets, or over the mesh budget (131 072 voxels or 100 000 quads for a model, 262 144 or 200 000 for a pack, 524 288 or 400 000 for all the packs). See [Models](https://docs.aethercube.fr/developers/content-packs/models.md#caps-and-budgets). |
| `pack.json` fields are refused          | A `description` over 200 characters, more than 32 `screen_effects`, or a `name` or `version` that is only control characters.                                                                                                                                                   |
| A backdrop is refused                   | Not a `.jpg` or `.png` under `backdrops/`, not 16:9, over 2048 by 1152, `place` over 64 characters, or more than 32 backdrops.                                                                                                                                                  |
| A shader is refused                     | It breaks the [shader rules](https://docs.aethercube.fr/developers/content-packs/shaders.md) as far as text can tell: `ptr`, `&`, a `for` counter written in the body, `for` loops nested more than 3 deep, or too many tokens. The log names the offending word.               |
| The server refuses too many packs       | More than 32 packs, or more than 256 MiB in all.                                                                                                                                                                                                                                |
| `IllegalStateException` from `register` | The call came after the network started. Register in `onLoad` or `onEnable`.                                                                                                                                                                                                    |
| `ScreenEffects.show` throws             | The effect id is not declared by any loaded pack. Check `contentPacks().screenEffects()` first.                                                                                                                                                                                 |

## On the client

| Symptom                                            | Likely cause and fix                                                                                                                                                        |
| -------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Kicked with "This server needs its content packs." | The player's `client.toml` has `content_packs = "decline"` and the server has `content_packs.required: true`. Set it to `"accept"`, or set `required: false` on the server. |
| Refused with reason `CONTENT_REQUIRED`             | The client does not announce `content_packs/1` and the server has packs with `required: true`.                                                                              |
| Items show a drawn icon                            | The icon file is missing, or its path does not match `icons/<name>.png` of the pack whose namespace the item uses.                                                          |
| A creature is a plain box                          | Its model failed validation, or no `entity_models.json` entry or `CreatureDefinition.model` names a model that loaded.                                                      |
| A model does not appear                            | The `model.json` failed validation: a missing parent, a cycle, a number out of range, or a `.vox` over 128 voxels per axis. The client skips it and logs a warning.         |
| A model faces backward                             | Its front must be on the `.vox` -Y side.                                                                                                                                    |
| A shader has no effect                             | The client skipped it with a warning: it did not parse or validate, or it was too heavy. Read the client log.                                                               |
| The loading backdrop is not shown                  | `loading_screen.backdrop` (or the plugin's `LoadingScreen`) does not name `<namespace>:<name>` exactly, or the pack was not loaded.                                         |

## Checking a pack without a server

The Skyglass example shows a test that builds a pack with the server's own pack builder and checks that the digest is stable. See [Example: Skyglass](https://docs.aethercube.fr/developers/plugins/example-skyglass.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aethercube.fr/developers/content-packs/troubleshooting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
