You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read properties of null (reading '0')
at PathFollower.pathUpdate (PathFollower.js:364:1)
at PathFollower.preUpdate (PathFollower.js:71:1)
at UpdateList.sceneUpdate (UpdateList.js:156:1)
at EventEmitter.emit (index.js:203:1)
at Systems.step (Systems.js:362:1)
at SceneManager.update (SceneManager.js:574:1)
at Game.step (Game.js:498:1)
at TimeStep.step (TimeStep.js:727:1)
at step (RequestAnimationFrame.js:91:1)
at spector.bundle.js:1:594101 Array(0)
Example Test Code
You can reproduce the error in the official labs example:
Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
Version
Description
Calling
gameObject.stopFollow()
throws an error:Example Test Code
You can reproduce the error in the official labs example:
https://labs.phaser.io/edit.html?src=src/paths/followers/pause%20and%20resume.js
Replace:
lemming.pauseFollow();
withlemming.stopFollow();
The text was updated successfully, but these errors were encountered: