Skip to content

Nineslice object bug #6804

Closed
jonesrussell/nishman
#6
@IvanDem

Description

@IvanDem

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions