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
I have the scenes for my game being dynamically added at runtime when the world is generated, and the following game config: var config = { type: Phaser.AUTO, width: 1260, height: 800, scene: [Loading], plugins: { global: [ { key: "navmesh", plugin: PhaserNavMeshPlugin, mapping: "navMeshPlugin", start: true, }, ], }, physics: { default: "arcade", arcade: { debug: false, }, }, render: { pixelArt: true, }, };
When I try to create a navmesh, it gives me this error: TypeError: Cannot read properties of undefined (reading 'buildMeshFromTilemap'). Any ideas for why this is happening?
The text was updated successfully, but these errors were encountered:
I have the scenes for my game being dynamically added at runtime when the world is generated, and the following game config:
var config = { type: Phaser.AUTO, width: 1260, height: 800, scene: [Loading], plugins: { global: [ { key: "navmesh", plugin: PhaserNavMeshPlugin, mapping: "navMeshPlugin", start: true, }, ], }, physics: { default: "arcade", arcade: { debug: false, }, }, render: { pixelArt: true, }, };
When I try to create a navmesh, it gives me this error:
TypeError: Cannot read properties of undefined (reading 'buildMeshFromTilemap')
. Any ideas for why this is happening?The text was updated successfully, but these errors were encountered: