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

大约有 51 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0041 秒)

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

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

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

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

今天打开微信工具出现错误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 'USER_DATA_PATH' of undefined [ 92%]

做了一个最简单的显示微信子域的程序,但是报错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

4. cannot read property '1'of null [ 86%]

cannot read property '1'of null 点击导出之后,然后回到ide,然后点击任何添加组件都会报这个错误!!!有人遇到过么,在线急需帮助..... 附件 : --> 2022-01-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

5. laya.physics.js:430 Cannot read property 'GetType' of null [ 85%]

laya.physics.js:430 Cannot read property 'GetType' of null Uncaught TypeError: Cannot read property 'GetType' of null     at box2d.b2Fixture.GetType (laya.physics.js:430)     at box2d.b2ContactFactory.Create (laya.physics.js:576)     at box2d.b2ContactManager.AddPair (laya.physics.js:586)   ...

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

6. Laya.PlatformClass.createClass undefined [ 80%]

Laya.PlatformClass.createClass undefined LAYA 2.1.1.1 native2.1 Laya.PlatformClass.createClass undefined 照抄官方例子的   -------------------------------- 我忘记是不是这个原因了 好久了,在通信的那个脚本下面  window["NativeManager"] = NativeManager; 写类似这样...

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

7. Uncaught TypeError: Cannot read property 'props' of undefined [ 79%]

Uncaught TypeError: Cannot read property 'props' of undefined 按照官方提供的代码,导入从unity导出的场景,出现此错误,代码如下 var Main = (function () { function Main() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.s...

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

8. discard property,please use transform's property instead [ 79%]

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

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

9. 关于Laya.Load(path)加载网络资源的问题 [ 78%]

关于Laya.Load(path)加载网络资源的问题 H5中加载资源时用Laya.Load(path),我看见官方文档和本地的工程都只是从bin目录下的路径开始写的,那如果发布后运行在玩家电脑上时,是如何加载网络资源的呢,资源路径是 如何加上网络路径...

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

10. 加载模式不能用 有demo [ 76%]

加载模式不能用 有demo 希望能修复一下 只要改一下代码 让他别在屁股后面加 .scene就可以了   __proto.loadScene=function(path){         var url=path.indexOf(".")>-1 ? path :path+".scene";         var view=Laya.loader.getRes(url); 附件 : --> Test2.1...

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