I'm using Unity (2019.2.8f1) and tried the Vuforia Sample Unity for Hololens. The project run on my HoloLens and i can see the Vuforia Splash Screen and the UI but i still can't see the models when i look at the target pictures. I get this on console in Visual Studio 2019:
AR:ERROR: 2019-10-10 06:38:20: VideoBackgroundConfig with screen size of zero received, skipping config step
AR:ERROR: 2019-10-10 06:38:20: You must successfully set a mode with Device.setMode before retrieving RenderingPrimitives
Likewise, if i run the app directly on Unity and simulate it on the webcam eveything works fine.
Do you know why?
Regards.
Hi,
Based on the error could you please try and adjust the Camera Device Mode option from MODE_DEFAULT to SPEED? and try enabling the VideoBackGround feature from the same configuration.
Please bear in mind that this option can also be adjusted via code from unity, so if you have any code referencing it, please mode sure to change it accordingly.
https://library.vuforia.com/content/vuforia-library/en/reference/unity/classVuforia_1_1CameraDevice.html#af6c196d8948b774c4d147cf9eab1a900
https://library.vuforia.com/content/vuforia-library/en/reference/unity/classVuforia_1_1VuforiaConfiguration_1_1VideoBackgroundConfiguration.html
Thank you.
Vuforia Engine Support