Skip to content

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

@aminekha

Description

@aminekha

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions