cocos-creator-install-and-debug
Use when installing Cocos Creator 3.x and debugging scene import errors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when installing Cocos Creator 3.x and debugging scene import errors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when installing Cocos Creator 3.x and setting up a headless test bootstrap.
Use when setting up a GUI-free CLI build pipeline for Cocos Creator 3.x.
Use when building code-driven scrollable UI panels in Cocos Creator 3.x.
Use when code-driven UI nodes in Cocos Creator 3.x fail to render text or colors.
Use when Cocos Creator 3.x CLI build fails with scene or library errors.
Use when creating a runtime test without a .scene file in Cocos Creator 3.x.
| name | cocos-creator-install-and-debug |
| description | Use when installing Cocos Creator 3.x and debugging scene import errors. |
Install Cocos Creator 3.x on macOS from terminal and fix common scene import errors.
# Download from official site
open "https://www.cocos.com/en/creator-download"
# Or use direct .dmg
open /path/to/CocosCreator_v3.x.dmg
Install to /Applications/CocosCreator.app.
| Error | Likely Cause | Quick Fix |
|---|---|---|
| Error 1222/1223 | Corrupted scene JSON | Rebuild scene from backup |
scene._load is not a function | Broken id references | Don't manually edit scene JSON |
| Gray screen on preview | Script component not loaded | Check Canvas node exists in Hierarchy |
| Missing textures | Asset bundle not imported | Re-import assets in Editor |
LoadScene MainScene.scene: XXms in outputpython3 -c "import json; json.load(open('assets/scenes/MainScene.scene'))"See references/full-debug.md for complete error catalog and fixes.