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
An issue happens on both versions when trying to destroy a timeline like this, even while it is playing. The error is different for each phaser version though.
on 3.85.0-beta.1 the error is as follows:
Uncaught ReferenceError: i is not defined
at Timeline2.clear (phaser.js:233673:14)
at Timeline2.destroy (phaser.js:233752:14)
on 3.80.1 the error is as follows:
TypeError: Cannot read properties of null (reading 'events')
at Timeline2.destroy (phaser.js:233464:41)
The text was updated successfully, but these errors were encountered:
Version
Description
An issue happens on both versions when trying to destroy a timeline like this, even while it is playing. The error is different for each phaser version though.
Example Test Code
on 3.85.0-beta.1 the error is as follows:
![2024_06_24_161023](https://private-user-images.githubusercontent.com/32780344/342502624-9a5b0b05-1fd0-4175-9f9b-ca15e396a986.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MTI4NDMsIm5iZiI6MTcxOTgxMjU0MywicGF0aCI6Ii8zMjc4MDM0NC8zNDI1MDI2MjQtOWE1YjBiMDUtMWZkMC00MTc1LTlmOWItY2ExNWUzOTZhOTg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDA1NDIyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwZGE3ZTg2MzRmZmM4ZWYzMGM5MTM0ZTQ2NDc5NzIwMDBiNmQwOGQ5ZGRiZTUxYjc0Y2M5ZjMzYmI1ZTc5NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.k6b5oVpIAzZW_z-ej6S0XAKuUqBD14yUC9QCIPEZaaw)
Uncaught ReferenceError: i is not defined
at Timeline2.clear (phaser.js:233673:14)
at Timeline2.destroy (phaser.js:233752:14)
on 3.80.1 the error is as follows:
![2024_06_24_164248](https://private-user-images.githubusercontent.com/32780344/342502037-0516c30d-a93c-4b57-9075-740ba7234710.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk4MTI4NDMsIm5iZiI6MTcxOTgxMjU0MywicGF0aCI6Ii8zMjc4MDM0NC8zNDI1MDIwMzctMDUxNmMzMGQtYTkzYy00YjU3LTkwNzUtNzQwYmE3MjM0NzEwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAxVDA1NDIyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ2NWI5ZjQzYmQ3YmNkMmYwZjllODBlOGJiOGYyNjQzNTMyYjQwNDFiM2M3OWVjYzBkOGIwMTBhMTI5Y2ZkYWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.-ZMJEPZGk5F7eN_usY3z47Lg_6sDdqohA3mC4jEZ47A)
TypeError: Cannot read properties of null (reading 'events')
at Timeline2.destroy (phaser.js:233464:41)
The text was updated successfully, but these errors were encountered: