Skip to content
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

Open
IvanDem opened this issue Apr 26, 2024 · 0 comments
Open

Nineslice object bug #6804

IvanDem opened this issue Apr 26, 2024 · 0 comments

Comments

@IvanDem
Copy link

IvanDem commented Apr 26, 2024

Version

  • Phaser Version:
    Phaser Version: 3.80.1 and earlier
  • Operating system:
    Windows 11
  • Browser:
    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.
Screenshot 2024-04-26 at 10 11 59

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

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

No branches or pull requests

1 participant