Search Issue Tracker
Fixed
Fixed in 2022.3.47f1
Votes
3
Found in
2022.3.18f1
2023.2.8f1
2023.3.0b5
6000.0.0b11
Issue ID
UUM-63345
Regression
Yes
Memory leak when Application.runInBackground is set to false and the Editor is unfocused
Reproduction steps:
1. Open the attached "Repro" project
2. Open “Assets/Scenes/SampleScene” scene
3. Open Task Manager
4. Enter the Play mode
5. Unfocus the Editor
6. Wait for around a minute and observe the results
Expected results: Memory usage remains consistent
Actual results: Memory usage starts rapidly increasing after some time
Reproducible with: 2022.2.0b15, 2022.3.18f1, 2023.1.0a17, 2023.2.8f1, 2023.3.0b5
Not reproducible with: 2021.3.34f1, 2022.2.0b14, 2023.1.0a16
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Notes:
- Only reproducible when Build Target is set to Android
- Reproduces only if both Scene view and Game view are visible at the same time
- Does not reproduce when the renderer in the “Assets/Settings/UniversalRP” asset is changed from “ForwardRenderer” to “Renderer2D”
- The Editor was left running in the background for 3 minutes in the versions it did not reproduce in
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2022.3.47f1):
Do not force camera depth buffer to use a 24 bit format when running in the Editor. Fix an issue when the camera depth buffer was unnecessarily reallocated and lead to memory leaks and performance degradation in the Editor when Android build platform was selected, Application.runInBackground was set to false and the Editor is unfocused.