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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
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.