"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Camera lags on Android

Vuforia SDK Version: 6.2.6 - Unity 5.5.0p4

Description with steps to reproduce: 

Create new Project with Vuforia Only Create new Scene containing only Default ARCamera Prefab and Unity InputField Every time you click on the input field and the keyboard pops up, vuforia camera will lag more and more until its unusable.

Profiler won't show any performance issues.

This is the same like in the following Post, but there is no awnser and i would like to have a solution. https://developer.vuforia.com/forum/unity-extension-technical-discussion/huge-performance-issue-camera-lags-hell -

Development OS (Mac OS X, Windows, Linux): Windows - Mobile OS and Version: Android 6.0.1 - Mobile Device Manufacturer and Model name: Samsung Galaxy S6 Edge - Do the Vuforia Sample Applications show the same behavior?: not tested

millipededevelopers

Tue, 02/07/2017 - 02:48

We have just started experiencing the exact same issue.

Added a Unity input field to the scene, and every time I select the field (which reveals the keyboard), the camera lag increases.

Testing on Samsung Galaxy Tab S2.

Unity 5.5.1f1

Vuforia 6.1.17

millipededevelopers

Tue, 02/07/2017 - 03:13

I can also recreate the issue by simply showing and hiding the notification panel a couple of times, while the camera is visible.

This is replicable in the sample Unity projects.

Same problem on Unity 5.5.2p1 and last Vuforia version... Any workaround or fix? .... 

Hello,

Unity has marked this issue as fixed in Unity 5.6.0: https://issuetracker.unity3d.com/issues/android-inputtext-makes-webcam-update-texture-slow

Has anyone confirmed?

augustindv

Mon, 05/22/2017 - 09:28

Hi,

Still no solution to this problem ? I tried in Unity 5.6 with Vuforia 6.2 and it's still not working. Is there any workaround ?

I am currently working on Unity 5.5.

 

Thanks

SmithDavis

Tue, 06/20/2017 - 08:38

I am experiencing the same problem with my app.

Unity Version: 5.6.1 p4

Vuforia SDK Version: 6-2-10

Selecting and deselecting an input field and repeating this process causes the ARCamera to become slower and slower until it is completely unusable.

Hello,

The original issue filed with Unity was described as a Unity problem - no mention of Vuforia in the original description. But, as we cannot access the project mentioned in the bug report there is no way for me to confirm this:

SmithDavis

Wed, 06/21/2017 - 10:01

In reply to by medabit

Thank you for the timely response medabit.

I have created a new Unity project and added a camera and 3D Plane object to the scene on which I added a script to render a device's camera onto. I then added a UI Layer and Input Field to the scene.

Hi,

Has there been any progress made towards a fix for this bug?

Could a rough timescale for when updates for this will be released?

henriqueranj

Wed, 07/19/2017 - 09:11

Hello,

I am also facing this issue using Unity 5.6.0f3 and Vuforia 6.2.10.

Hello Strasza,

Is there any update from Unity regarding this fix? This fix is crucial for our project.

Hello henriqueranj,

Unfortunately we have not heard back from Unity on this issue yet. I'll update here as soon as I hear anything.

Sorry for the inconvenience,

BEFaughnan

Wed, 09/27/2017 - 16:18

We are having this issue now too with Vuforia Version 6-2-10 and Unity Version 5.6.1f1

Even after loading a new level the problem still persists. If only unity had some way of explicitly pausing and resuming the game instead of all those hacky work arounds.

OmarShoaib

Thu, 10/19/2017 - 12:00

After days of r&d I have found a workaround for arcamera lags when keyboard on input field is visible.

Use the below asset, its easy to use and quite a better workaround until unity completely fix this issue.