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

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

241. web版发布后,在浏览器运行报错 提示找不到 btCollisionObject_create [ 91%]

...发布后,在浏览器运行报错 提示找不到 btCollisionObject_create Uncaught TypeError: Cannot read properties of undefined (reading 'btCollisionObject_create')     at pi._onAdded (laya.d3.min.js:1:600219)     at xr._addComponentInstance (laya.core.min.js:1:250112)     at xr.addCompo...

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

242. 1.9LayairIDE创建的微信小游戏示例运行报错 [ 91%]

...报错 VM32 WAGame.js:1 Uncaught ReferenceError: Laya is not defined     at code.js? [sm]:1     at require (VM32 WAGame.js:1)     at VM32 WAGame.js:1     at VM42 game.js:4     at require (VM32 WAGame.js:1)     at <anonymous>:1:1     at HTMLScriptElement.scriptLoaded (<anonymou...

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

243. Uncaught TypeError: Cannot read property 'props' of undefined [ 91%]

...a.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 Laya.Scene3D.load("LayaScene_Laya3D01/Laya3D01.ls",Laya.Handler.create(null,function(scene){ Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new L...

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

244. LayaAPP打包后laya.webgl.j错误,浏览器测试没问题 [ 91%]

...Texture.id:0; ^^ TypeError: Cannot read property '_glTexture' of undefined at Sprite.__proto._setTextureEx (http://stand.alone.version/lib ... 906:34) at EventHandler.__proto.runWith (http://stand.alone.version/lib ... 408:41) at Texture.__proto.event (http://stand.alone.version/lib ... 169:30) at T...

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

245. 用unity插件导出lh格式文件,再代码中加载使用的问题 [ 91%]

...代码中加载使用的问题 unity版本:5.6.5f1 unity插件版本:Bate04 引擎版本:layaAir 2.0 在unity中创建一个新场景,里面只有一个摄像机,是一个空场景,无其他显示内容 根据laya的教程文档,安装unity插件,并打开相应面板后,选中scen...

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

246. ide升级到LayaAirIDE_1.7.0_beta 后启动调试器报错 [ 91%]

...到LayaAirIDE_1.7.0_beta 后启动调试器报错 Error processing "evaluate": TypeError: Cannot read property 'api' of undefined at ChromeConnection.get api [as api] (d:\LayaAirIDE_1.7.0_beta\resources\app\extensions\laya-debug\node_modules\vscode-chrome-debug-core\out\src\chrome\chromeConnection.j...

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

247. (有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are [ 91%]

(有图片附件)图集用的atlas 在LayaAir里可以正常跑,但是发布后,运行报错 Failed to load file.Cross origin requests are Failed to load file:///H:/WeChatQ1Snake/release/layaweb/v1.0.0/res/atlas/images.atlas: Cross origin requests are only supported for protocol schemes: http, ...

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

248. Laya 3D项目中 3d模型可以添加2d刚体吗 这边添加会出现报错 [ 91%]

...报错 TypeError: this.owner.localToGlobal is not a function preload.js:55 at RigidBody.__proto._createBody (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.physics.js:2031:27) at RigidBody.__proto._onAwake (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/...

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

249. LAYA IDE 设置语言包路径后卡死 [ 91%]

...replace is not a function TypeError: text.replace is not a function     at Input.__proto.parseLines (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:60001:19)     at Input.__proto.typeset (file:///D:/LayaAirIDE/resources/app/out/vs/layaEditor/h5/laya.js:59934:9)     at Time...

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

250. 动态加载代码后,总是出现 ProgressBar is not a constructor [ 91%]

...sBar is not a constructor //动态加载js文件--my.js function loadJs(jspath,defer = true) { //得到html的头部dom // var theHead = document.getElementsByTagName('head').item(0); var theHead = document.getElementsByTagName('body').item(0); //创建脚本的dom对象实例 var myScript = documen...

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