From d6fb7f841b03b132e054de07be1ea1800ca5709a Mon Sep 17 00:00:00 2001 From: SmallMain Date: Thu, 21 Nov 2024 18:21:34 +0800 Subject: [PATCH] =?UTF-8?q?[engine]=20=E4=BC=98=E5=8C=96=E5=BD=93=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=80=A7=E6=89=A9=E5=B1=95=E6=B2=A1=E6=9C=89=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E5=AE=89=E8=A3=85=E6=97=B6=E7=9A=84=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- engine/cocos2d/core/asset-manager/builtins.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/cocos2d/core/asset-manager/builtins.js b/engine/cocos2d/core/asset-manager/builtins.js index 57aa8c79..a79fdcf2 100644 --- a/engine/cocos2d/core/asset-manager/builtins.js +++ b/engine/cocos2d/core/asset-manager/builtins.js @@ -104,7 +104,8 @@ var builtins = { if (CC_EDITOR) { cc.assetManager.loadAny(Editor.assetdb.remote.urlToUuid('db://enhance-kit-resources/sp/effects/' + name + '.effect'), function (err, effect) { if (err) { - return Editor.error(err); + Editor.error("Please check if the supporting extension is installed correctly."); + Editor.error(err); } else { cb(effect); }