Programming · Testing
cocos-creator-install-and-debug
/cocos-creator-install-and-debug
Use when installing Cocos Creator 3.x and debugging scene import errors.
For whom
- Author
- chrislamdev ↗
- Repository
- cocos-creator-debug-skills ↗
- Licence
- MIT
- Last repository change
- 04.07.2026
Assessment and security
96/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability21 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
Deprecation
No signals detected. Repository changed on 04.07.2026, without references to retired models or APIs.
Licence
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when installing Cocos Creator 3.x and debugging scene import errors.
Original author description
Use when installing Cocos Creator 3.x and debugging scene import errors.
How it works
- Install
- Common Scene Import Errors
- Debug Flow
Original SKILL.md headings · 34 lines, 168 words
SKILL.md preview
---
name: cocos-creator-install-and-debug
description: Use when installing Cocos Creator 3.x and debugging scene import errors.
version: 2.0.0
author: Hermes Agent
tags: [cocos-creator, install, macos, scene-import, debug]
triggers:
- install cocos
- cocos setup
- cocos install
---
# Cocos Creator 3.x Install & Debug
Install Cocos Creator 3.x on macOS from terminal and fix common scene import errors.
## Install
```bash
# 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`.
## Common Scene Import Errors
| 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 |
## Debug Flow
1. Check Console in Cocos Creator (Window → Console)
2. Verify scene loads: `LoadScene MainScene.scene: XXms` in output
3. Read scene JSON integrity: `python3 -c "import json; json.load(open('assets/scenes/MainScene.scene'))"`
4. If scene corrupt, restore from git backup or rebuild
See `references/full-debug.md` for complete error catalog and fixes.
Versions
The database has no other skills named cocos-creator-install-and-debug.
Database snapshot: 13.11.2026 · package version 349dbde08e43 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 96cocos-creator-cli-build-debug
Use when Cocos Creator 3.x CLI build fails with scene or library errors. - 100cocos-creator-scene-less-test-bootstrap
Use when creating a runtime test without a .scene file in Cocos Creator 3.x. triggers: - scene less - no scene - test without scene - 100cocos2d
Use this skill when the user says 'cocos2d', 'cocos2d-x', 'cocos creator', 'cocos game', 'cocos build'. Guides Cocos Creator 3.x / Cocos2d-x projects: node tree and components, rendering and batching, physics, UI, multi-platform builds and mobile performance. Do NOT use for:… - 100cocos-creator
Cocos Creator 3.8.x 与 COCOS 4 跨平台 2D/3D 游戏引擎开发助手。用于编写与调试 TypeScript 组件、节点与组件体系、事件系统、Tween/Animation 动画、物理与碰撞、UI(Label/Sprite/Button/Widget/Layout)、资源加载与 AssetBundle、场景管理、性能与 DrawCall 优化,以及发布到微信小游戏、抖音小游戏、H5、iOS、Android、HarmonyOS Next 等平台。当用户提到 Cocos、Cocos Creator、Creator… - 100cocos2d-patterns
Use this skill when the user says 'cocos2d-x internals', 'cocos director', 'cocos scene graph', 'cocos render queue', 'cocos memory management'. Explains Cocos2d-x internals — Director loop, scene graph, render queue and auto-batching, event dispatch, reference-counted memory —… - 100douyin-minigame-helper
抖音小游戏开发助手(Cocos + JavaScript)。当用户咨询抖音小游戏(minigame)的开发、接入、发布、变现、审核问题,或需要 tt.* API 用法、广告/支付/分享/排行榜接入、性能与包体优化、开发者工具使用时引用本技能。