Search Issue Tracker
Active
Under Consideration for 2023.1.X
Votes
60
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
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
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used
- Event.current.mousePosition has an offset of 1px along the y-axis in WebGL build when the mouse button is released
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.
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?
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.
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?
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.
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.