Search Issue Tracker
Fixed
Votes
4
Found in
2022.3.38f1
6000.0.11f1
7000.0.0a1
Issue ID
UUM-76166
Regression
Yes
[iOS] Memory isn't released when playing an H.264 video
Steps to reproduce:
1. Open the attached “AVAssetLeak” projet
2. In Build Settings enable Development Build
3. Build the project
4. Open the build in Xcode and deploy it to the device
5. Open Xcode > Open Developer Tool > Instruments and choose Allocations for the profiling template
6. Start an immediate mode recording
7. In the Detail filter search write “av”
8. In the Player press the “Play” and “Stop” buttons while observing memory usage (total bytes) in the Instruments window
Expected result: Memory usage remains stable or is released
Actual result: Memory usage increases every time the “Play” button is pressed and is never reduced
Reproducible with: 2022.3.10f1, 2022.3.38f1, 6000.0.11f1
Not reproducible with: 2021.3.40f1
Could not test with: 2022.1.0a1-2022.3.9f1 (“Command PhaseScriptExecution failed with a nonzero exit code” error)
Testing environment: macOS Sonoma 14.5 (Intel)
Not reproducible on: No other environment tested
Reproducible with these devices:
VLNQA00394 - iPhone 13 mini (MLK23ET/A), CPU: Apple A15 Bionic, OS: 16.2
VLNQA00297 - iPhone 11 Pro (MWC62ET/A), CPU: Apple A13 Bionic, GPU: Apple designed, OS: 15.3.1
VLNQA00357 - iPhone 12 Mini (MGE03ET/A), CPU: Apple A14 Bionic, GPU: Apple designed, OS: 14.1
Note:
- Doesn’t reproduce with VP8 video (by user)
- Regressed version might be incorrect because 2022.1.0a1-2022.3.9f1 versions could not be tested
Comments (2)
-
CTePeoTun
Jul 24, 2024 09:48
I have a similar problem on Android. But there is still a problem with vp8.
-
thomas642daniel
Jul 18, 2024 10:07
Ensure you are using the latest version of Unity and Xcode. Sometimes, updates include fixes for such issues.
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-78170