cocos的bug,求大佬们看到提供解决方案;

由于同时进行多个项目开发;
每个项目有大量共同部分,所以在开发一个新项目时,就直接整体复制了上一个项目,在上个项目的基础上进行修改,
整个node树会产生各种增删改;

现在报了failed to load resource,提示找不到json文件,类似
Error: ENOENT: no such file or directory, stat ‘F:\projectName\library\imports\e6\e629e03c-4215-4cee-8666-6c7b0ff6fd2c.json’

实际上当前项目压根应该不需要这个json文件,不应该去找它,而是上个项目依赖的,现在项目已经完成,不太可能重新开项目重建node树,跪求大佬们提供解决方法;

附报错信息:
Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/99/9922aaa1-aedb-4ca2-b1d7-2aa3878fd5d8.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/a5/a530c96e-994c-4ad5-8c5c-e5296b6cc70f.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/e9/e9c0d0f5-e690-4fef-90d3-dfcc99ca19bf.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/57/576f58e9-0c75-413a-8e88-c6fd5f13870b.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/dc/dccf8245-e7db-4d81-ba26-17e93c6d4fa2.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/e6/e629e03c-4215-4cee-8666-6c7b0ff6fd2c.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/91/9110acd8-e8cd-418f-8aad-854462449eba.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/3e/3e1c0c69-beee-4e3a-93bb-c4851e4ac3b6.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/e5/e5279fbb-4101-406a-acd7-9c51651fc630.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/2c/2cbb769f-7664-4ab5-a5c6-336580f94408.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/78/789081d4-a845-4c8b-a6e5-8b5b448f1a9d.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/90/90342d67-eb19-4582-984a-c168175d4185.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/d5/d5c324c6-ad6e-4f52-ac5a-b340844eed64.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/58/58844fea-4205-4864-beb5-d4701dbbf336.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)
:7456/res/import/26/267b98e0-4311-44a9-81e2-3eeae8a04c01.json:1 Failed to load resource: the server responded with a status of 404 (Not Found)

是不是改用资源导出导入啥的。

我也遇到啦,某个场景就一直这样。
它找的文件就是不存在。
版本号为: 1.10.2
删除library重建还是不行

直接调试看一下呀

资源没有,调试what啊

用vscode打开项目文件夹,在整个文件夹搜索报notfound的文件名,看究竟是哪个地方使用了它,找到后,删除试试。

1赞

Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/6d/6d12cb97-5676-44c2-894b-f1b6380f16f9.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/cf/cfcd57e8-c7aa-40c2-a613-67aa9a696890.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/27/27a35dea-647c-44e4-b2f0-4c069cf5c6f4.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/12/12c10c06-30e6-47d9-82ad-e16b3b426db3.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/5c/5ca29738-e53e-4c49-b411-5bc1684f7ade.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/72/72fbb2b0-873a-41fa-97bb-5cc708571057.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/87/878e6f5c-9c18-43f6-b6d4-de99bfd2648b.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/80/80401aa6-715c-41bc-9673-ec3dc7a430da.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/52/52557444-2b7d-44fe-bb39-3e5247e5654d.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/0b/0b416870-ea27-4f6e-8c02-7c032ec3055e.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/f0/f0c94075-5830-40bc-81e5-1ef509f3becc.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/c6/c6f35fda-46d0-4195-b214-2159f1173232.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/77/77afdb1b-cebc-45aa-952d-cfcbf0e1b8bb.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/26/26a3c25b-adab-49af-869f-014f3c0ec652.json]
Failed to load resource: the server responded with a status of 404 (Not Found) [http://localhost:7456/res/import/12/12f8b974-088c-46a5-a47b-f913deb2755e.json]

项目里面搜搜不到这些项。不知道怎么出来的

是只搜索文件名吗?在项目目录搜索文件看看
例如:6d12cb97-5676-44c2-894b-f1b6380f16f9.json

是的,就是搜 6d12cb97-5676-44c2-894b-f1b6380f16f9 或 6d12cb97 找不到

我在场景中删除了2个节点好啦。

我也遇到过这问题,产生的原因是在windows资源管理器中修改了图片,cocos creator 中的sprite引用的图片没有更新,就会报这种uuid.json 的404错误,只要把图片重新拖一遍就行了。

1赞