Skip to content

[4.0.0-rc.5] Randomly blacked out textures at certain canvas widths and heights. #7223

@PascalScherer

Description

@PascalScherer

Phaser Version 4.0.0-rc.5
Windows 11
Chrome

Unfortunately I could not reproduce this issue reliably. I mentioned it on the Discord in hopes of somebody facing the same problem. It has been observed before but it remains unclean when the problem appears. So sorry for the missing code example. Here is my message from the Discord:

"I've tested out Phaser 4 RC 5 in our project. Everything works and looks decent, but sometimes one or multiple, seemingly random, images/sprites in our scenes start to appear completely black. Depending on the size of the window after resizing, the strange behavior vanishes and/or reappears. I seems like some widths, heights, or aspect ratios work and some don't. [...]"

I wanted to open a github issue so more information about this problem can be collected in the comments. The bug accurs after some time, but has also been observed immediately in our game. In Chrome on Windows and Safari on Mac.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions