diff --git a/cocos/core/game.ts b/cocos/core/game.ts index 00e0fed155..a948476e97 100644 --- a/cocos/core/game.ts +++ b/cocos/core/game.ts @@ -581,7 +581,6 @@ export class Game extends EventTarget { if (cb) { cb(); } }; - // Init engine this._initEngine(start); } @@ -595,6 +594,10 @@ export class Game extends EventTarget { this._initEvents(); } + // Log engine version + console.log('Cocos Creator 3D v' + cc.ENGINE_VERSION); + this.emit(Game.EVENT_ENGINE_INITED); + // load renderpipeline let config = this.config; cc.loader.load({ uuid: config.renderPipeline }, (err, asset) => { @@ -620,10 +623,6 @@ export class Game extends EventTarget { cb && cb(); } }); - - // Log engine version - console.log('Cocos Creator 3D v' + cc.ENGINE_VERSION); - this.emit(Game.EVENT_ENGINE_INITED); } // @Methods