Skip to content

ColorRect with clipping enabled and panel as child renders the screen texture onto it #89689

@jefvel

Description

@jefvel

Tested versions

  • Reproducible v4.3.dev5.official [89f70e9]

System information

Windows 11

Issue description

When setting a color rect to clip mode, and adding a panel to it as a child, it will render the whole game screen texture onto it.

image

Steps to reproduce

Create a 2D scene, add some sprites and stuff to it. Add a ColorRect and set the clip to clip only. Add a panel to it as a child. It will render the screen with sprites added to the scene.

Minimal reproduction project (MRP)

weird_viewport.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions