[LayaAir3]引擎3.1的使用
我下了3.1,建了个空项目,运行预览就报错:
import ~/internal/Cone.lm failed! spawn C:\Users\Administrator\AppData\Local\Programs\LayaAirIDE\resources\nativetools\bin\xatlas ENOENT at /C:/Users/Administrator/AppData/Local/Programs/LayaAirIDE/resources/app.asar/game.js:2
Failed to load D:/Desktop/Laya3空项目/library/6e/6e013e32-fec7-4397-80d1-f918a07607be.lm
TypeError: Cannot read properties of null (reading 'subMeshCount') at /C:/Users/Administrator/AppData/Local/Programs/LayaAirIDE/resources/app.asar/sceneEditor.js:2
方块也看不见
而且我想问问,我下断点的话,怎么才能运行到断点啊?2.0有compile.js这文件的,3.0找不到了,那么断点怎么弄啊?
import ~/internal/Cone.lm failed! spawn C:\Users\Administrator\AppData\Local\Programs\LayaAirIDE\resources\nativetools\bin\xatlas ENOENT at /C:/Users/Administrator/AppData/Local/Programs/LayaAirIDE/resources/app.asar/game.js:2
Failed to load D:/Desktop/Laya3空项目/library/6e/6e013e32-fec7-4397-80d1-f918a07607be.lm
TypeError: Cannot read properties of null (reading 'subMeshCount') at /C:/Users/Administrator/AppData/Local/Programs/LayaAirIDE/resources/app.asar/sceneEditor.js:2
方块也看不见
而且我想问问,我下断点的话,怎么才能运行到断点啊?2.0有compile.js这文件的,3.0找不到了,那么断点怎么弄啊?
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
layabox
赞同来自:
187*****170
赞同来自:
我希望能在vscode里按f5跑,我选了webapp(chrome),是这样的吧?
然后生成出来的launch.json里,我改了这样两句话:
"url": "http://localhost:18090/index.html",
"webRoot": "${workspaceFolder}/bin"
想问一下,那个端口号改成自己的,比如8082,为啥f5就出不来了啊?我已经用express运行web服务了,就这两句:
const express = require("express");
express().use(express.static("bin")).listen(8082);
引擎2.0的时候是没有问题的
最后还是希望能告诉我怎么才能让断点有效哇?还是说现在暂时还做不到,那以后能做到吗?大概要等到啥时候就行了?
万分感谢!