Skip to content

Render: Memory leak in shadow maps #1212

Description

@eprikazchikov

Description

Memory leak in shadow maps

Prerequisites

The scene must contains DirectLight

Steps to Reproduce

  1. Show ShadowMap atlas in editor
  2. Disable Shadows in DirectLight
  3. Enable Shadows in DirectLight
  4. Check ShadowMap atlas

Expected behavior:

  1. Shadows located at the same place in atlas each time Enable/Disable

Actual behavior:

  1. Each time the location is new and always grows. If no space available the new page created (leak)

Reproducibility:

100%

Versions

2025.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Next release is blocked by this issue

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Done for Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions