-
Creator 版本: <2.3.4>
-
目标平台: <编辑器>
-
重现方式:在packages中扩展的时候,使用Editor.url(‘unpack://cocos2d-x’)获取路径
-
首个报错: <Unrecognized unpack host ‘cocos2d-x’! Please validate your url.
at exports.unpackUrl2path (C:\CocosDashboard_1.0.12\resources.editors\Creator\2.3.4\resources\app.asar\editor\lib\protocol\utils.js:1:630)
at Object.e.url (C:\CocosDashboard_1.0.12\resources.editors\Creator\2.3.4\resources\app.asar\editor-framework\lib\main\protocol.js:1:2631)
at Object.fix_engine (D:\cocosProject\heroWar\packages\fix_engine\main.js:163:74)
at EventEmitter.emit (events.js:194:13)
at EventEmitter.emit (domain.js:469:20)
at b (C:\CocosDashboard_1.0.12\resources.editors\Creator\2.3.4\resources\app.asar\editor-framework\lib\main\ipc.js:1:1126)
at e.sendToMain (C:\CocosDashboard_1.0.12\resources.editors\Creator\2.3.4\resources\app.asar\editor-framework\lib\main\ipc.js:1:1536)
at Immediate._onImmediate (C:\CocosDashboard_1.0.12\resources.editors\Creator\2.3.4\resources\app.asar\editor-framework\lib\main\menu.js:1:5458)
at processImmediate (internal/timers.js:443:21)>