Log in or register to post comments

Camera focus not working on Hololens

July 19, 2017 - 4:04am #1

Hi all,

Apologies if this has been posted before, I've searched around (a lot) and not been able to find anything.

The image target sample runs flawlessly on my laptop, but when I deploy to the Hololens, I'm getting feedback that the targets are lost and never found.  i.e. they're never seen even when 5 stars, in good lighting and at a good position/rotation to the Hololens.

I'm using Vuforia 6.2, Unity 2017.1.03f and the latest updates have been applied to Hololens.

The only thing that stands out to me from the debug output that might be the cause is the following:

 

StartVuforia



(Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Creating a Null Camera Configuration (Check for reflection)



(Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Requested Focus mode FOCUS_MODE_CONTINUOUSAUTO.  Not supported on this device.



(Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Failed to enable continuous autofocus, switching to normal focus mode



(Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Requested Focus mode FOCUS_MODE_NORMAL.  Not supported on this device.



(Filename: C:/buildslave/unity/build/artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)

 

Is this normal behaviour?  The specs for Hololens suggest that it should support autofocus, but here it appears that Vuforia isn't able to activate it.  Beyond that, it doesn't even manage to set normal focus mode and doesn't seem to have any further fallbacks.  It would help me narrow this down even if somebody can just provide a dump of their log on a working device for me to compare against.

Any help would be appreciated as I've been on this problem for a couple days now, thanks.

Camera focus not working on Hololens

December 21, 2017 - 8:04am #2

Did you solve this issue?

Same problem here :(





StartVuforia



(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Setting frame rate to 29fps



(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Requested Focus mode FOCUS_MODE_CONTINUOUSAUTO.  Not supported on this device.



(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Failed to enable continuous autofocus, switching to normal focus mode



(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Requested Focus mode FOCUS_MODE_NORMAL.  Not supported on this device.



(Filename: C:\buildslave\unity\build\artifacts/generated/Metro/runtime/DebugBindings.gen.cpp Line: 51)



Assertion failed on expression: 'IsMatrixValid(matrix)'



(Filename: C:\buildslave\unity\build\Runtime/Camera/Camera.cpp Line: 3478)



El programa '[32] Vuforia 7.exe' terminó con código -2147483645 (0x80000003).

 

Log in or register to post comments