Search Issue Tracker


Under Consideration for 2023.1.X



Found in


Issue ID




RTHandles in URP causes memory allocation in multi-camera scenarios



Steps to reproduce:
1. Open the “Defender 2D” project
2. Open “Camera Stacking” scene
3. Enter Play Mode
4. Compare and observe memory usage in the Windows Task Manager or Activity Monitor

Expected result: Memory usage stays the same or even decreases
Actual result: Memory usage climbs at a rate of about 5 MB/min

Reproducible with: 2021.2.14f1, 2021.3.11f1, 2022.1.19f1, 2022.2.0b10, 2023.1.0a14
Not reproducible with: 2020.3.40f1, 2021.2.13f1

Reproduced on: macOS Monterey 12.2 (Intel)

1# The issue is reproducible only in Editor
2# Removing the URP package fixes the issue

Comments (10)

  1. unity_o4hCMUvKOL1Thw

    Mar 15, 2023 12:20

    This issue is definitely taking a toll on our development and experience with Unity. Using 2022.2.5f1, hope it gets fixed asap.

  2. legalrick2

    Mar 15, 2023 09:09

    I'm using unity 2021.3.15f1 on windows with an AMD gpu and cpu (if that makes any difference). I created a new project from the 3d (URP) template. I played the empty sample scene, and watched the profiler's memory slowly tick up until it caused a large lag spike, when the garbage collection fired up. The memory suddenly dropped, but it kept climbing after. Is there no fix?

  3. Hayden-Verbrec

    Mar 15, 2023 06:40

    This issue is crippling our development timeline at the moment. Are any updates available for this? I've done extensive profiling and memory inspections on the issue, feel free to contact me.

  4. IzMePapa

    Mar 01, 2023 18:34

    This issue looks like its still present in Unity 2022.2.8 ~ why is it left out of known issues?

  5. Miguel_TagaiArts

    Feb 21, 2023 16:42

    Happening on 2022.2.5f1 as well. This seems to be stuck in plenty of Unity cycles at this point.

  6. Cryonics

    Feb 15, 2023 04:20

    This also happens in 2023.1.0b2 with 2D Core.
    I found that entering playmode will permanently tax fps by around 10% each time, even in an new empty project.

  7. Andre_Dev00

    Feb 07, 2023 18:28

    My team and I cannot continue the development of our game with all the latest Unity versions due to this bug. The engine crashes as soon as I hit play mode (or, if I successfully enter Play Mode, it crashes when I exit it).

    We need this fixed ASAP! Currently, I'm trying to downgrade to 2021.2.13f1 to see if I can get this ship sailing again.

  8. IzMePapa

    Feb 07, 2023 18:25

    Also happening on 2022.2.5f1 and latest 2021 LTS.

  9. ariel_kuo_unity3d

    Jan 24, 2023 22:32

    Can you tell me how long we are talking about to see the issue surface? And what URP package you were using?

  10. TeKGameR

    Jan 09, 2023 17:26

    This does not only happen in 2D, also in 3D, over a long period of time the memory usage climb insanely even on a small project.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.