[LayaAirIDE 2.0]这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null

请问这个什么意思? 怎么办呢?

好像跟这个有关系?
Laya.Utils.fitDOMElementInArea


laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null
    at Sprite.fromImage (laya.core.js:16463)
    at Sprite.__proto.toParentPoint (laya.core.js:15797)
    at Sprite.__proto.localToGlobal (laya.core.js:15757)
    at Function.Utils.getGlobalRecByPoints (laya.core.js:10216)
    at Function.Utils.getGlobalPosAndScale (laya.core.js:10224)
    at Function.Utils.getTransformRelativeToWindow (laya.core.js:10293)
    at GamePagePlayer.Utils.fitDOMElementInArea (laya.core.js:10340)
    at EventHandler.__proto.run (laya.core.js:710)
    at Stage.__proto.event (laya.core.js:499)
    at Stage.__proto.setScreenSize (laya.core.js:18495)
已邀请:

Aar0n

赞同来自:

加断点去看哪一步出问题了
 

该问题目前已经被锁定, 无法添加新回复

商务合作
商务合作