Skip to content

ClearColorConfig not honored with multiple cameras #25608

Description

@viridia

Bevy version and features

0.20.0-dev (mainline)

[Optional] Relevant system information

  • MacOS 15.7.4
AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, device_pci_bus_id: "", driver: "", driver_info: "", backend: Metal, subgroup_min_size: 4, subgroup_max_size: 64, transient_saves_memory: Some(true), limit_bucket: None }

What you did

Three Camera2ds sharing a window.

What went wrong

Only the last one's ClearColorConfig honored and it clears the whole window instead of its own Viewport

Additional information

Example reproduction:

repro_camera_bug.rs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    • Status
      Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions