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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Add comment