cocos-creator-install-and-debug
Use when installing Cocos Creator 3.x and debugging scene import errors.
ソース情報
- リポジトリ
- ChrisLamDev/cocos-creator-debug-skills
- ソースの最終更新活動
- 2026年7月4日 01:36
- 検出された SKILL.md の言語
- 英語
- スター
- 1
- フォーク
- 1
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- name
- cocos-creator-install-and-debug
- description
- Use when installing Cocos Creator 3.x and debugging scene import errors.
# 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.
GitHubで見る