Skip to content

"Uncaught TypeError: Cannot read properties of undefined (reading 'steps')" #244

Description

@cool-RR

I loaded a Sokoban game in griddly.ai and modified the rules a bit. I pressed "play" though I think the button was inactive. Nothing happened, but I got this in the error log:

HumanPlayerScene.js:594 Uncaught TypeError: Cannot read properties of undefined (reading 'steps')
    at t.processTrajectory (HumanPlayerScene.js:594:38)
    at t.update (HumanPlayerScene.js:734:16)
    at initialize.step (phaser.js:49068:26)
    at initialize.update (phaser.js:100289:21)
    at initialize.step (phaser.js:162805:20)
    at initialize.step (phaser.js:89366:14)
    at e (phaser.js:89613:19)
t.processTrajectory @ HumanPlayerScene.js:594
t.update @ HumanPlayerScene.js:734
step @ phaser.js:49068
update @ phaser.js:100289
step @ phaser.js:162805
step @ phaser.js:89366
e @ phaser.js:89613
requestAnimationFrame (async)

I cut off the traceback because it's long and repititive, find the full traceback in the log: https://gist.github.com/cool-RR/97a4d6043ef2c63fd119619dbb5ac568

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GriddlyJSAn issues specifically relating to GriddlyJSbugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions