-
Creator 版本:3.8
-
目标平台: 与构建无关,编辑器内部报错
-
重现方式:现有项目打开L10N本地化,参照文档https://docs.cocos.com/creator/manual/zh/editor/l10n/overview.html 内的介绍,点击收集并统计即报错,
参照报错信息重启编辑器无效 -
首个报错:
[Window] Unknown scene error, please try to re-import the plugin resources or restart the editor
Error: Unknown scene error, please try to re-import the plugin resources or restart the editor
at D:\12Game\Proj\BoboClient\extensions\localization-editor\webpack-dist\electron-main\webpack:\localization-editor\src\lib\core\ipc\SceneIPC.ts:28:23
at step (D:\12Game\Proj\BoboClient\extensions\localization-editor\webpack-dist\electron-main\main.js:28263:23)
at Object.throw (D:\12Game\Proj\BoboClient\extensions\localization-editor\webpack-dist\electron-main\main.js:28204:20)
at asyncGeneratorStep (D:\12Game\Proj\BoboClient\extensions\localization-editor\webpack-dist\electron-main\main.js:28130:28)
at _throw (D:\12Game\Proj\BoboClient\extensions\localization-editor\webpack-dist\electron-main\main.js:28151:17)
(Target: localization-editor, Message: scan) -
之前哪个版本是正常的: 之前未使用过
-
手机型号: 无关
-
手机浏览器: 无关
-
编辑器操作系统: Windows 11
-
重现概率: 100%
楼主你好,有解决方法了吗,我也有遇到这个问题
降级到3.7用这个插件之后再升级回3.8
1赞
3.8.2 依然有这个问题
可能不会及时的去解决,目前已经开放了 l10n 的源码,大家可以去看看
https://github.com/knoxHuang/cocos-creator-extensions/tree/main/extensions/localization-editor
谢谢官方大大回复, 提供workaround, 目前已经放弃了L10N的方式, 采用自己手动方式。