-
Notifications
You must be signed in to change notification settings - Fork 7.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nineslice object bug #6804
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
Phaser Version: 3.80.1 and earlier
Windows 11
Chrome
Description
Occasionally, my game encounters a loading issue, after adding a nineslice object to my language menu, which creates on game load. This problem surfaced recently and has been noticed by two different testers. The bug occurs randomly, but once triggered, a page refresh isn't effective in resolving it. The issue persists as long as the nineslice object is being created. To resolve it, users need to restart Chrome.
Additional Information
Might be need to add extra condition here:
https://github.com/phaserjs/phaser/blob/master/src/gameobjects/nineslice/NineSlice.js
if (frame.scale9 && !skipScale9) => if (frame && frame.scale9 && !skipScale9)
if (textureFrame.scale9) = > if (textureFrame && textureFrame.scale9)
A second testers told be, he stopped to got any loading freeze after he updated GPU driver and chrome, the first one still have this sometimes.
I've asked to test it out phaser's 3 labs nineslice examples. Will update once got more information
The text was updated successfully, but these errors were encountered: