关键词
Cocos creator 2.4.3 JavaScript 微信小游戏
背景
运行cocos creator项目时突然报错。
报错
Sorry, the component of 'game_root' which with an index of 1 is corrupted! It has been removed.
解决
- 原因:我运行项目的时候是在prefab预制体编辑器界面运行的,然后报错了。
- 解决:只需要回到场景scene中再点击运行即可。
Cocos creator 2.4.3 JavaScript 微信小游戏
运行cocos creator项目时突然报错。
Sorry, the component of 'game_root' which with an index of 1 is corrupted! It has been removed.