Skip to content

Conversation

Snoturky
Copy link
Contributor

  • Fixes a bug

Describe the changes below:

A recent change (a763d77) prevents the default values for Tileset's tileProperties and tileData from being set because it passes null instead of undefined for those constructor args.

This restores those default values, eliminating an Uncaught TypeError: Cannot read properties of null error here when using ImageCollections.

I rolled back my phaser version from 3.88 to 3.87 (before the above changes) and the error was gone.

@zekeatchan zekeatchan merged commit 27c7fed into phaserjs:master Mar 14, 2025
@zekeatchan
Copy link
Collaborator

Hi @Snoturky. Thanks for submitting this PR. We have merged this and pushed it to the master branch. It will be part of the next release. Do test it out and let us know if you encounter any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants