Skip to content

Keypad does not work on doors nor plays sound #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
chsterz opened this issue Jan 26, 2022 · 1 comment
Open

Keypad does not work on doors nor plays sound #116

chsterz opened this issue Jan 26, 2022 · 1 comment
Assignees

Comments

@chsterz
Copy link

chsterz commented Jan 26, 2022

Here is the error:

TypeError: Cannot read properties of undefined (reading 'entries')
    at Proxy.initVariables (state.ts:49:48)
    at iframe_api.ts:38:18

I am running a fairly old Workadventure, ~Nov 2021

I debugged in a bit. It seems, that the WA.onInit()call returns undefined instead of a valid Promise.
This causes the catch block around it to directly fire and hinders the preparation of the Keypad.
The Keypad shows up, but no key-sounds are played nor the door opens like it did before (worked on 5th of Jan still, can confirm)

Screenshot from 2022-01-26 11-55-27

I tried forcing the version of scripting-api-extra to 1.1.1 which was available at 5th of Jan when it still worked, but it still gave the same error on my instance.

@gparant
Copy link
Collaborator

gparant commented Jan 29, 2022

ping @moufmouf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants