decentraland / decentraland/decentraland-ecs-utils
Guest First Time Loading into the game. Most functions not working.
- Dominant language
- TypeScript
- Stars
- 33
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
When accessing Decentraland on an incognito tab (Chrome) on the land which we are working on (https://play.decentraland.org/?position=-115,-19) an issue occurs where the main functions that you expect to use don't work on deployment. Such as;
```
export class system implements ISystem{
update(dt: number) {
log(dt);
}
}
engine.addSystem(new system())
```
```
import { setTimeout } from "@dcl/ecs-scene-utils";
setTimeout(100, () => {
log('times up')
})
```
```
this.addComponent(
new TriggerComponent(
new TriggerBoxShape(new Vector3(3, 2, 3), new Vector3(65.930, 2.710, 3.000)),
{
onCameraEnter: () => {
log('triggered!')
},
onCameraExit: () => {
log('Exit!')
// this.onCameraExit()
}
},
)
)
```
On refreshing the functions work.
If anyone has solved a similar issue please let me know.
Contributor guide
Assessment
This issue has not been assessed yet.