Search Issue Tracker
Fixed in 2018.2.X
Votes
0
Found in
2017.3.0b3
Issue ID
956574
Regression
No
[VideoPlayer] When playing video surfaceTexture->updateTexImage() takes ~16 ms on Galaxy S III Mini
How to reproduce:
1. Open the attached project
2. Open Build settings and make sure that Development build and Autoconnect profiler are enabled
3. Build and run test scene on Galaxy S III Mini
4. Connect profiler to a device
5. Type VideoPlayer. in profiler search field so all visible events would be useful for this case
Result: it is obvious that on device performance is pretty bad and you can see some spikes in the profiler for VideoPlayer.Update event which sometimes reach ~16 ms.
Note: surfaceTexture->updateTexImage() does not have separate profiler entry, but gets accumulated in VideoPlayer.Update profiler time. This time varies depending on video resolution, so bigger resolution videos frame rate is greatly reduced, this should be filed as another bug.
Reproducible:
2017.3.0b3 at most it took 16ms
2017.2.0f2 at most it took 8ms
Device:
42, Samsung [GT-I8200N], 4.2.2, 480x800, GC1000
After latest changes 2018.2: Now occasional spikes in profiler are caused by waiting for data to decode, so video player is working as expected on this device.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- VFX Graph Memory leak when calling the ClearPropertyBinders and AddRemoveVFXProperty
- Entering "Configure Avatar" inside the Inspector locks it
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
Add comment