decentraland/unity-renderer

When we use the utils library, movePlayerTo no longer works

aminekha opened this issue · 0 comments

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: