Skip to content

Filters are unstableΒ #484

@devblazer

Description

@devblazer

I have an issue where I use various filters on different sprites and text (like glow and drop shadow), and on occasion, those sprites or text simply vanish. I have tried everything to get them to show again when this happens, including:

Recreating the filters applied to them
Destroying and recreating the element
Confirming all settings, including position, scale, alpha, size, textValue, ect.
Calling internal update functions like updateBounds
and a few other rather extreme things.
I have confirmed by using the browser pixi extension, that these elements are still there, just not rendering at all.

The only thing that gets these elements to show up again is to remove their filters entirely, then they show up immediately. Assigning a new filter instance to them doesn't work either. However assigning another filter instance that was created before it 'broke' does work! (sometimes)

Does anybody know why this is happening (chat gpt claims something about the rendering pipeline bugging out, I am inclined to believe it since gpt was the one that pointed me in the direction of looking at the filters as the source of the problem in the first place, and it turned out to be at least partially correct).
Otherwise, does anybody know how to fix it, or even how to detect when it happens (other than seeing the result visually)?

Metadata

Metadata

Assignees

No one assigned

    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