decentraland / decentraland/builder

Bulider exported zip file has script1.init(options) but init() functions have no parameters, so this is always a syntax error for sdk

Open
#1,480 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
156
Forks
91
Avg merge
2d 7h
Merged PRs (30d)
31

Description

Steps to reproduce

1. Make a test scene
2. Add any smart item to it. I used the raft e.g.
3. Download the export for the SDK
4. npm i in the scene to get the node modules
4. Open the src/gamet.ts file in smart editor like Visual Studio Code
5. check the scriptN.init line at end of gamte.ts
// expected: script1.init()
// actual: script1.init(options)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.