Search Issue Tracker
By Design
Votes
3
Found in
2021.3.32f1
2022.3.14f1
2023.2.2f1
2023.3.0a16
Issue ID
UUM-57084
Regression
No
Memory leaks when using the “CommandBuffer” to perform a series of render operations using temporary RenderTextures on iOS devices
How to reproduce:
1. Build And Run the user’s attached “My project.zip” project on iOS device
2. In the app, press the “render” button a few times
3. Observe the memory usage in the Xcode’s Debug navigator
Expected result: After pressing 3 times, Memory usage increases a bit
Actual result: After pressing 3 times, Memory usage is 300-600MB
Reproducible with: 2021.3.32f1, 2022.3.14f1, 2023.2.2f1, 2023.3.0a16
Reproduced on:
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
Not reproducible on: No other environment tested
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
- [Android] Audio sound is lower in the Player compared to the native music player
- Feet slide and misalign when playing retargeted animations
- IndexOutOfRangeException is thrown in NativePassCompiler when a graphics buffer is used in more than 5 render passes
- "Undo Stack Overflow" error is thrown, and Undo History is deleted when multiselected GameObjects are reparented to their GrandParents
- SearchColumn of type "ObjectReference" does not get refreshed for the custom SearchProvider when lighting generation finishes
Resolution Note:
RenderTexture.GetTemporary allocates memory. Call ReleaseTemporary to release the memory. See https://docs.unity3d.com/ScriptReference/RenderTexture.GetTemporary.html for details