简体   繁体   English

本地的 Decentraland 预览版达到 88%

[英]Decentraland Preview in local struck at 88%

Hi I'm doing the below steps嗨,我正在执行以下步骤

Installed the decentraland SDK安装了 decentraland SDK

$ node -v v16.0.0 $节点-v v16.0.0

$ npm -v 8.13.2 $ npm -v 8.13.2

$ dcl -v 3.11.0 $ dcl -v 3.11.0

created a new scene with dcl init使用dcl init创建了一个新场景

Installed the dependencies.安装了依赖项。

$dcl start $dcl 开始

application started.应用程序启动。

When we load the preview it is struck forever.当我们加载预览时,它会永远被击中。

with reaching 88% waited for an hour达到 88% 等了一个小时

the scene did not load场景未加载

I was having this issue last week too, tried again this morning and looks like they've put out an update for the decentraland-ecs package上周我也遇到了这个问题,今天早上又试了一次,看起来他们已经发布了 decentraland-ecs 包的更新

6.11.2 -> 6.11.3 6.11.2 -> 6.11.3

Running npm install decentraland-ecs@latest in my local project has fixed the issue for me在我的本地项目中运行npm install decentraland-ecs@latest为我解决了这个问题

Sometimes the local dev instance will hang at a certain point.有时本地开发实例会在某个点挂起。 You should try refreshing a few times while the browser is active.您应该在浏览器处于活动状态时尝试刷新几次。 I'm not sure why, but sometimes if you have the tab open in the background, it will not fully load.我不知道为什么,但有时如果你在后台打开标签,它不会完全加载。

Also make sure that if you are calling/modifying a Transform, that it already exists on the entity.还要确保如果您正在调用/修改转换,它已经存在于实体上。 This will sometimes hang and not give a proper error.这有时会挂起并且不会给出正确的错误。

So if you call myEntity.getComponent(Transform).position = new Vector3(8,0,8) before you add a Transform to the entity with myEntity.addComponent(Transform) this annoying non-error will happen and leave you scratching your head.因此,如果您在使用myEntity.addComponent(Transform)向实体添加 Transform 之前调用myEntity.getComponent(Transform).position = new Vector3(8,0,8) ,则会发生这种烦人的非错误,让您摸不着头脑.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM