2.4.12 关于微信小游戏远程加载astc文件(非creator项目内)无法显示的问题.

cc.assetManager.loadRemote("http://127.0.0.1:8080/image/bg.astc", { ext: ".astc" }, (err, texture2D) => {
    let spriteFrame = new cc.SpriteFrame();
    spriteFrame.setTexture(texture2D);
    //this.sprite.spriteFrame = spriteFrame;
});

以上是简要描述,首先是这个astc是非creator项目内(项目内的astc没有任何问题),然后是如果这种写法不行的话, 应该要怎么写,或者说,非项目内的astc远程加载是无法使用的。
@jare @shrinktofit @panda

请问这个问题有解决么?

同问3.0

cc.assetManager.downloader.downloadDomImage(path, null, (err, img) => {
const texture = new cc.Texture2D();
texture.initWithElement(img);
const frame = new cc.SpriteFrame(texture);
xxx
});

虽然我用的ASTC都是包里的 没用过这种方式的还,不过我倒是想问问,这是个什么需求 非要用远程独立加载的 还非得是ASTC的设计规则?