When we use the utils library, movePlayerTo no longer works
aminekha opened this issue · 0 comments
aminekha commented
Issue Description:
movePlayerTo no longer works when I use a function from "@dcl/ecs-scene-utils"
Steps to reproduce:
- Import something from @dcl/ecs-scene-utils and use it in your code
- Try using movePlayerTo() and you will get: Error: TypeError: Cannot read properties of null (reading 'movePlayerTo')
- 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