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. version: 2.0.0 author: Hermes Agent tags: [cocos-creator, install, macos, scene-import, debug] triggers: - install cocos - cocos setup - cocos install
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.