Search Issue Tracker
By Design
Votes
0
Found in
2021.3.38f1
2022.3.27f1
6000.0.0b16
6000.1.0a3
6000.2.0a1
Issue ID
UUM-9437
Regression
No
Video Player continuously allocates IOSurface buffers when rendering to Render Texture until device runs out of memory and crashes
How to reproduce:
1. Open the attached project ("VP Test.zip")
2. Build an Xcode project (iOS, macOS)
3. Deploy to a device
4. Profile in Instruments to observe memory allocations
Reproducible with: 2020.3.37f1, 2021.3.6f1, 2022.1.10f1, 2022.2.0b2, 2023.1.0a4
Reproducible on:
iPhone 13 mini (iOS 16 public beta 1)
iPad 6th gen (iOS 14.4.2)
macOS 12.4 (Intel) - did not crash but memory usage did continue to increase
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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Resolution Note:
The VideoPlayer buffers between 8 and 11 decompressed frames via IOSurfaces provided by AVFoundation's decoding. Playing more than one 4K clip on an iPad Air 2 therefore goes above the memory usage threshold for this device, so using lower resolution clips - e.g. matching the device's screen resolution of 2K - would be a safer approach.