--
title: "Codex Pet Not Showing? 9 Problems and the Exact Fix for Each"
description: "Your custom Codex pet installed but won't appear? Nine real causes — name mismatches in pet.json, missing spritesheets, fake restarts — with the exact fix for each."
tags: ["codex", "openai", "pixelart", "troubleshooting"]
canonical_url: https://codexpetgenerator.com/blog/codex-pet-not-showing-fixes
Codex Pet Not Showing? 9 Problems and the Exact Fix for Each
You dropped your pet into ~/.codex/pets, restarted Codex, and nothing shows up. Before you reinstall anything: codex pet not showing is almost never a broken install.
In my experience helping people with this, three causes cover most cases:
-
Folder name ≠
pet.jsonname field. Codex loads a pet from a subfolder and reads thenamefield inside its pet.json. Foldermy-cat-v2with JSON still saying"my-cat"gets refused. Fix: copy the exactnamevalue, rename the folder, restart. -
spritesheet.webpis missing or renamed. Extractors love producingspritesheet (1).webp. The loader looks for the exact filename next to pet.json. Fix: confirm the file sits directly beside pet.json, spelled exactly. - The restart that wasn't a restart. On macOS, closing the window leaves Codex in the menu bar; on Windows it lives in the tray. The pets dir is only re-read at full process exit. Fix: Cmd+Q / tray exit, relaunch.
The other six
-
pet.json is invalid JSON. A trailing comma or mismatched quote makes Codex skip the pet silently. Validate fast:
node -e "JSON.parse(require('fs').readFileSync('pet.json','utf8'))". -
Wrong permissions. A folder copied from Downloads with odd perms can be unreadable:
chmod -R u+rwX ~/.codex/pets/<name>. - Visibility toggle off. Some Codex versions hide pets behind a settings toggle, especially after updates.
-
Duplicate pet names. Two subfolders declaring the same
name→ the loader picks one, the other silently vanishes. - Codex updated and changed the format. A desktop update can change what pet.json expects. Re-download your pet package from the generator.
- Spritesheet grid mismatch. pet.json declares 9 states but the sheet has fewer rows → whole pet rejected.
Five-minute checklist
-
ls ~/.codex/pets/<name>— must contain spritesheet.webp and pet.json directly - Folder name vs.
namefield in pet.json — must match - Validate pet.json with node
- Full quit (Cmd+Q / tray), relaunch
- Check the pets visibility toggle
- If it worked before an update, re-download the package
Generate a fresh, schema-correct pet here: Codex Pet Generator
中文操作指引(Dev.to 发布):
- 操作地址:https://dev.to/dashboard → New Post
- 步骤:① 复制上方正文(保留 front-matter);② 粘贴;③ 确认 canonical_url;④ tags:codex、openai、pixelart、troubleshooting;⑤ 建议 9:00-9:30
- 注意:canonical 指向 https://codexpetgenerator.com/blog/codex-pet-not-showing-fixes,勿改
跟踪清单:□ 检查 canonical □ 记录数据 □ 回源站博客
Top comments (0)