Search Issue Tracker

Duplicate

Votes

94

Found in

2023.1.0b10

Issue ID

UUM-19089

Regression

Yes

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)

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

  1. Resolution Note:

    We have validated the repro project with the UUM-40249 fix and confirmed the issue is no longer reproducible.
    Based on our testing result, we close this case as duplicate.

    Quote from UUM-40249 fix resolution:
    "Fixed runtime performance drops when multiple views that uses incompatible RTHandle descriptors are rendered within a frame."
    Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-40249

Comments (25)

  1. 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.

  2. 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.

  3. IzMePapa

    Feb 07, 2023 18:25

    Also happening on 2022.2.5f1 and latest 2021 LTS.

  4. ariel_kuo_unity3d

    Jan 24, 2023 22:32

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

  5. 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.