• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 485 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0048 秒)

1. 脚本引入时调用函数会出现 Cannot read property 'Init' of null [ 100%]

脚本引入时调用函数会出现 Cannot read property 'Init' of null 我有两个脚本 Car.js和GameManager.js  在GameManager.js 中对资源进行回收的时候,动态随机生成的预制体汽车 进行回收的时候 调用Car.js中的Init(sign){ this.sign=sign; }  GameManager.js ...

来源: Laya_社区 发布时间: 20200909

2. 今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined [ 94%]

今天打开微信工具出现错误Cannot read property 'USER_DATA_PATH' of undefined Wechat Lib:2.0.1, 2018.4.14 12:32:36 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot rea...

来源: Laya_社区 发布时间: 20180524

3. Cannot read property 'displayObject' of null [ 94%]

Cannot read property 'displayObject' of null Cannot read property 'displayObject' of null 报这个错误要怎么解决 2018-07-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: steven c...

来源: Laya_社区 发布时间: 20180716

4. Cannot read property 'offCanplay' of null [ 93%]

Cannot read property 'offCanplay' of null 游戏公测的时候,后台很多这样的报错。   Cannot read property 'offCanplay' of null TypeError: Cannot read property 'offCanplay' of null at n.onCanPlay (https://usr/game.js:39:9226) at Function.t (https://lib/WAGameSubContext.js:2:153278)Can...

来源: Laya_社区 发布时间: 20200612

5. error TS2339: Property 'delta' does not exist on type 'Event'. [ 92%]

error TS2339: Property 'delta' does not exist on type 'Event'. IDE版本号:1.7.17 2018-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 你查看下你的代码是否有问题那...

来源: Laya_社区 发布时间: 20180421

6. 2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null [ 92%]

2d示例项目打包为微信小游戏报错,Cannot read property 'LESS' of null Cannot read property 'LESS' of null TypeError: Cannot read property 'LESS' of null     at Function.value (http://127.0.0.1:43542/game/li ... :19438)     at Object.value [as init] (http://127.0.0.1:43542/game/li ....

来源: Laya_社区 发布时间: 20220616

7. 微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined [ 92%]

微信开放数据域加载图片后报错 Cannot read property 'USER_DATA_PATH' of undefined 在子域中简单的添加一张图片后,微信开发工具中报错 Cannot read property 'USER_DATA_PATH' of undefined 图片的url不管是本地的还是微信头像的url都会这样 主域中这...

来源: Laya_社区 发布时间: 20190529

8. BackGround.super(this);这个报错 Cannot read property 'call' of undefined [ 92%]

BackGround.super(this);这个报错 Cannot read property 'call' of undefined 2018-01-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 你具体描述一下你出现问题的环境, 以...

来源: Laya_社区 发布时间: 20180110

9. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 91%]

做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined Uncaught TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (laya.wxmini.js:615) at Function.MiniAdpter.init (laya.wxmini.js:33) a...

来源: Laya_社区 发布时间: 20181026

10. discard property,please use transform's property instead [ 90%]

discard property,please use transform's property instead 运行官网的3D例子时,浏览器一直报这个 2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 就是那个属性...

来源: Laya_社区 发布时间: 20180725