Search Issue Tracker
Fixed in 2018.1.X
Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X
Votes
12
Found in
2017.2.0b3
Issue ID
934841
Regression
No
[Android] Video playback lags when activating and deactivating Input Field
To reproduce:
1. Download and open attached "repro934841.zip" project.
2. Build and run for android.
3. Focus on Input field and enter some text in there.
4. Close the keyboard.
5. Repeat steps 3-4 for about 5 times.
Expected result: Video plays without stuttering after closing the keyboard.
Actual result: Video starts to lag and eventually stops after closing the keyboard couple of times.
Reproduced with: 2017.3.0a1, 2017.2.0b4, 2017.1.0p2, 5.6.3f1.
Devices Under Test:
Samsung SM G925F (Galaxy S6 Edge)*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T760,
Build:samsung/zeroltexx/zerolte:7.0/NRD90M/G925FXXU5EQFC:user/release-keys
Google Nexus 5X*, OS:7.1.2, CPU:arm64-v8a, GPU:Adreno (TM) 418,
Build:google/bullhead/bullhead:7.1.2/N2G47W/3938523:user/release-keys
Sony C6603 (Xperia Z)*, OS:5.1.1, CPU:armeabi-v7a, GPU:Adreno (TM) 320,
Build:Sony/C6603/C6603:5.1.1/10.7.A.0.228/58103698:user/release-keys
Notes: Did not test on 5.5 since video player was released in 5.6. Did not reproduce on iPhone SE iOS 9.3.
Verified with: 2018.1.0a1, 2017.1.2p3
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
- "Timeflow Animation System" custom package appears twice in the Package Manager
- Sprite Atlas Override for iOS setting remains disabled when saving its change to enabled
- Increased Memory usage when Update Mode 'On Demand' Realtime lights are used and DX12 API is selected
- Shader warnings in URP ShaderGraph when using the Normal From Texture node
- 'Stack overflow' error logged in the Console when a script that has a lot of classes is compiled
cozyurt_unity
Jul 15, 2020 11:55
Kedi Köpek Maması,Kedi Köpek Yaş Mamalar, Köpek Ödül Bisküviler,Kedi Köpek Aksesuarları,Kedi Kumu çeşitleri 100 TL üzeri kargo bedava,kredi kartlarına 12 taksit www.patilimama.com
electroid
Oct 24, 2017 23:12
Still present in Unity 2017.3.0b6
Pavel_IG
Oct 18, 2017 09:44
I found out that stuttering in the video are affected by multithreading. if you select the checkmark *multithread rendering option in Unity when building the project, then the video will be stuttering by default. We suspect that each emerging of the keyboard after pressing an input field causes in a separate thread (more clicks on the input fields = more lags in the video, even if you call the same input field 10 times). Apparently these threads do not close after keyboard hiding and adversely affect the video quality.
Exactly the same problem arises when you use www to download video in separate corutines. More corutines with www = more shuttering, even if all of them have already successfully downloaded the video and are no longer working.
ville-lehtinen
Oct 05, 2017 07:12
We noticed that the issue gets fixed on refocusing on the application (use e.g. home, or multitask button).
Would be interested in a workaround. Is there e.g. something on the Android side that could be called right before playing the video?