2.2.0升级2.3.1一直显示导入资源

刷新编辑器,变成这样。。。。

麻烦使用命令行打开编辑器,应该有报错信息,可以看看具体是什么错误信息

删除项目的 library,local,temp,应该就好了

(node:53796) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[53796] Cocos Service load base data!
[53796] Initializing Cocos2d
[53796] Initializing engine extends
Browserslist: caniuse-lite is outdated. Please run next command npm update
[Error: Input file is missing]
[Error: Input file is missing]

是这些报错吗?

不是,这个报错不影响的

试过了还是不行

运行的时候报这种错算吗?

但是新建项目是ok的,就是老项目打不开

你好像没成功使用命令行运行 creator,先成功进去,然后看看导入的时候有没有报错信息

运行成功了啊。。。我都打开creator了。。。并且能打开新建的项目。。。。

那你导入旧项目只报了这个错误?能否截一下全的 log

(node:15428) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
===== Initializing Editor =====
arguments:
–path
C:\workspace\test\test11
–logfile
C:\workspace\test\test11\local\logs\project.log

[15428] Load ~/.CocosCreator/settings.json
[15428] Initializing Asset Database
[15428] checking language setting…
[15428] Language: zh
Load profile failed: local://settings.json
Load profile failed: local://settings.json
Load profile failed: local://settings.json
Load profile failed: local://settings.json
Load profile failed: local://settings.json
Load profile failed: local://settings.json
Load profile failed: local://settings.json
[15428] preview server running at http://localhost:7456
[15428] protocol editor-framework registered
[15428] protocol app registered
[15428] protocol theme registered
[15428] protocol packages registered
[15428] protocol uuid registerred
[15428] protocol db registerred
[15428] protocol thumbnail registerred
[15428] protocol unpack registerred
[15428] protocol disable-commonjs registerred
[15428] connected!
[15428] Check project C:\workspace\test\test11
[15428] Initializing project C:\workspace\test\test11
[15428] adapters loaded
[15428] asset-db-debugger loaded
[15428] fb-audience-network loaded
[15428] fb-live-stream loaded
[15428] google-play-instant loaded
[15428] huawei-adapter loaded
[15428] jkw-adapter loaded
[15428] jsb-adapter loaded
[15428] oppo-adapter loaded
[15428] package-manager loaded
[15428] qtt-adapter loaded
[15428] runtime-dev-tools loaded
[15428] sdkbox loaded
[15428] ui-kit-preview-extra loaded
[15428] ui-kit-preview loaded
[15428] vivo-adapter loaded
[15428] alipay-minigame loaded
[15428] assets loaded
[15428] baidugame-opendata loaded
[15428] baidugame loaded
[15428] builder loaded
ccServices init
Cocos Service Version 0.6.4
[15428] cocos-services loaded
[15428] console loaded
[15428] curve-editor loaded
[15428] fb-instant-games loaded
[15428] game-window loaded
[15428] google-instant-games loaded
[15428] hierarchy loaded
[15428] huawei-runtime loaded
[15428] inspector loaded
[15428] cpk-publish loaded
[15428] keystore loaded
[15428] node-library loaded
[15428] open-recent-items loaded
[15428] oppo-runtime loaded
[15428] package-asset loaded
[15428] preferences loaded
[15428] project-importer loaded
[15428] project-settings loaded
[15428] qtt-runtime loaded
[15428] scene loaded
[15428] simulator-debugger loaded
[15428] sprite-editor loaded
[15428] store loaded
[15428] timeline loaded
[15428] vivo-runtime loaded
[15428] wechatgame-opendata loaded
[15428] wechatgame loaded
[15428] xiaomi-runtime loaded
(node:15428) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[15428] Initializing Cocos2d
[15428] Initializing engine extends
Browserslist: caniuse-lite is outdated. Please run next command npm update
[15428] Cocos Service load base data!
[Error: Input file is missing]
[Error: Input file is missing]

感觉这里出的问题,是否能给我一下你的项目呢,或者截图一下看看你的资源有哪些,或者注意一下特殊资源(除了 png 之类的资源)

资源的问题吗,我这里除了png,就是plist,spine,tmx,ttf了

tmx 是否有匹配的的图片,如果没有可能会卡主加载,2.3.3 有修复过

新版本不能有jpg了吗

可以有啊,为啥会怎么说?你最好看看 tmx 吧,先移除然后重现打开看看

找到了。。。是因为我资源里有打不开的tmx文件,虽然这些文件没有用。。。可能之前版本不会检测。。。现在版本会检测了

thanks!

:ok_hand:,之前有个 tmx 不加配对的 png 就会卡主的问题,2.3.3 已经修复了