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

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

681. laya升级到2.0.0beat4版本,加载场景出现的bug [ 49%]

laya升级到2.0.0beat4版本,加载场景出现的bug 加载:Laya.loader.create("Laya/Conventional/Map_SCC.ls",Laya.Handler.create(this,this.LoadCompleteHandler)); 加载完成后: var scene3D:Laya.Scene3D = Laya.loader.getRes(this.mSceneName) as Laya.Scene3D; Laya.stage.addChild(scene3D); 异常:...

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

682. 部署web后无法请求访问HTTP API接口数据,调试模式下可以访问获取 [ 49%]

...I接口数据,调试模式下可以访问获取 Access to XMLHttpRequest at 'http://192.168.3.70:8081/api/test?data=test' from origin 'http://192.168.3.70:8082' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header...

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

683. 在微信小游戏中使用BitmapFont会导致报错. [ 49%]

...开发者工具"打开就报错.   堆栈: gameThirdScriptError undefined;at api readFile success callback function console.error @ VM1782:1 errorReport @ WAGame.js:3 thirdErrorReport @ WAGame.js:3 (anonymous) @ WAGame.js:3 u @ WAGame.js:4 (anonymous) @ WAGame.js:4 function.setTimeout @ gamePage.ht...

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

684. 2.1.1版加了3D物理引擎库后创建3个scene3D就报错 [ 49%]

...compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 "). Bu...

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

685. 跑第一个HelloLayabox出现runtimeExecutable配置错误 [ 49%]

...: 找不到文件: null 请设置文件配置文件属性runtimeExecutable at launch.then (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/laya-debug/out/bundle.js:153:31) 下面是默认脚本代码 { "version": "0.2.0", "configurations": [ { "name": "layaAir", "type": "chrome",...

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

686. 小游戏加载3D远程资源不断报错 [ 49%]

...也许是所有)3D二进制资源,例如.lani,在WAGame.js文件中dataType会被识别为json,会显示SystaxError: Unexpected token o in JSON at positon 1。但是这个会被catch,不勾选IDE的Pause On Caught Exceptions是不容易发现的。 勾选Pause On Caught Exceptions,编译...

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

687. 苹果上架直接导致账号被调查。。。 [ 49%]

...ew because your Apple Developer Program account is currently under investigation for not following the App Store Review Guidelines’ Developer Code of Conduct. Common practices that may lead to an investigation include, but are not limited to: - Inaccurately describing an app or service - Misleadin...

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

688. 之前用着好好的U3D导出插件突然不能用了,下载了新的报错,麻烦帮看下,谢谢 [ 49%]

...谢 之前用上一版本的插件导出都没问题,更新了IDE后Animator的Play("ClipName")就没效果了,于是又更新了最新的U3D导出插件……然后连导出都报错……, KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dicti...

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

689. 如何加载一个HTML页面 [ 48%]

...且一直报错,"This page contains the following errors:error on line 1 at column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text  = Laya.Text; var WebGL = Laya.WebGL; (function() {   ...

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

690. Text.as中parseLines方法里的问题 [ 48%]

...台中看到有错误日志: TypeError: undefined is not an object (evaluating 's.width') at line 3 in https://usr/game.js _parseLines@https://usr/game.js:3:256231 typeset@https://usr/game.js:3:255040 typeset@https://usr/game.js:48:211550 …………   查了下源码, 定位到Text.as中parse...

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