记录一下遇到的问题:
版本:2.4.10
Failed to load resource: the server responded with a status of 404 (Not Found)
Error: ENOENT: no such file or directory, stat ‘D:\Cocos\Projects\MagicMirror\magic-mirror\MagicMirror\library\imports\21\21b9d5af-3158-4144-b4d6-bc61b2b2d94a.json’
在一个帖子上看到解决的方法:
产生的原因是在windows资源管理器中修改了图片,cocos creator 中的sprite引用的图片没有更新,就会报这种uuid.json 的404错误,只要把图片重新拖一遍就行了。
我就去工程文件中去找哪里有丢失,果然找到了是 shader 效果丢失了。

