Search Issue Tracker
Fixed
Fixed in 2022.3.65f1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a1, 7000.0.0a1
Votes
9
Found in
2022.3.39f1
6000.0.12f1
6000.1.0a4
6000.2.0a1
6000.3.0a1
Issue ID
UUM-77668
Regression
Yes
[Android] VideoPlayer leaks memory when repeating Play and Stop on a Video
Reproduction steps:
1. Open the attached project “BugRepro”
2. Open the Build Settings (File → Build Settings) and ensure “Development Build“ is enabled
3. Build And Run
4. While the Player is running, open the Memory Profiler (Window → Analysis → Memory Profiler)
5. In the menu bar of the Memory Profiler, select the “Target Selection” (default value is “Editor”) drop-down and choose the recently opened instance of the Player
6. Press the "Capture" button
7. After about 1-2 minutes, press the "Capture" button again
8. Press the "Compare SnapShots" button, and choose generated snapshots
9. Select the “All Of Memory” tab
10. Observe “Graphics(Estimated)→<No Name>"
Expected result: Memory usage does not increase or a very minimal increase is visible
Actual result: Memory increases without limit (About 136MB in 3 mins)
Reproducible with: 2022.3.39f1, 6000.0.12f1
Not reproducible with: 2021.3.41f1
Reproducible with these devices:
VLNQA00422 - Galaxy S21 Ultra 5G (SM-G998B), CPU: Exynos 2100, GPU: Mali-G78, OS: 11
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
Samsung Galaxy S21 5G (Android 11) (user’s)
iPhone 14Pro (iOS17.4.1) (user’s)
iPhone12(iOS16.6.1) (user’s)
Not reproducible with this device:
VLNQA00518 - Google Pixel 4 (Pixel 4), CPU: Snapdragon 855 SM8150, GPU: Adreno 640, OS: 13
Testing environment: Windows 11 23H2 (22631.3007), Windows 10 (10.0.19045) 64bit (user’s)
Not reproducible environment: No other environment tested
Notes:
- Not Reproducible in Play Mode on Editor, Windows Build
- VideoPlayer repeats Play and Stop every 2 seconds on script (video player/Assets/video.cs)
- The first capture has to be made straight after launching the player
- The issue can be reproduced only within 3 minutes as then the memory gets reset, due to this inconsistency the FAV could not be found
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text is pushed outside of the text box when creating a new Colors library in the Color Picker and entering the long string
- Shader Graph template list misaligns and becomes invisible while scrolling
- "Sort By..." icon is not visible in the "Create new Shader Graph Asset" window in the Light Editor theme
- "Unity SDF" font Asset from TMP Extras is pink
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
Add comment