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
-
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
-
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. -
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.
-
IzMePapa
Feb 07, 2023 18:25
Also happening on 2022.2.5f1 and latest 2021 LTS.
-
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? -
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] "Trying to load color backbuffer into a complex RenderPass setup" error is thrown after entering Play mode in AR Mobile template project
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
- Texture2D memory allocation size is significantly increased when running on iOS device
- No data received in Profiler when connecting to WebGL Player without "Autoconnect Profiler" option enabled
- Screen Space Ambient Occlusion is ignored when toggling "Post Processing" visibility in the Scene window overlay
This is a duplicate of issue #UUM-40249