Skip to content
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

When we use the utils library, movePlayerTo no longer works #6211

Open
5 of 20 tasks
aminekha opened this issue Jun 8, 2024 · 0 comments
Open
5 of 20 tasks

When we use the utils library, movePlayerTo no longer works #6211

aminekha opened this issue Jun 8, 2024 · 0 comments

Comments

@aminekha
Copy link

aminekha commented Jun 8, 2024

Issue Description:

movePlayerTo no longer works when I use a function from "@dcl/ecs-scene-utils"

Steps to reproduce:

  1. Import something from @dcl/ecs-scene-utils and use it in your code
  2. Try using movePlayerTo() and you will get: Error: TypeError: Cannot read properties of null (reading 'movePlayerTo')
  3. Remove the utils library and its call from the code and then movePlayerTo will work

Expected behaviour:

movePlayerTo should teleport the user to another room.

Current behaviour:

Getting an error: Error: TypeError: Cannot read properties of null (reading 'movePlayerTo')

Severity:

  • Cosmetic
  • Minor
  • Medium
  • High
  • Critical
  • Blocker

Priority:

  • High
  • Medium
  • Low

Platforms:

  • Windows
  • Mac
  • Not platform specific

Browser:

  • Google Chrome
  • Microsoft Edge
  • Firefox
  • Desktop
  • Not Browser Specific

Environment:

  • Production
  • Branch specific
  • Release Branch

Evidence:

image

Additional Notes:

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

1 participant