如题,模拟器正常,xcode 报https://github.com/cocos-creator/engine/blob/master/EngineErrorMap.md#1605
let self = this;
cc.loader.loadRes(cc.gameLocalized.logoPrefabPath(), function (err, prefab) {
let title = cc.instantiate(prefab);
title.parent = self.game_title_node;
// self.game_title_node.addChild(title);
});
self.game_title_node 是空节点,this.node 也是通过prefab创建出来的
将addChild 替换成parent = 后,没有报1605错误,但实例化的title对象还是没有渲染出来。