Repository: googlevr/cardboard

Issue #133: ios + vuforia not working
Created: 2020-10-06T13:47:10Z
Hello!
If i build sample scene on IOS with Vuforia sdk in project, scene is loading in not-VR mode.
Log from xcode:
2020-10-06 15:58:34.619583+0300 NewUnityProject1[436:23621] Built from '2019.4/release' branch, Version '2019.4.1f1 (e6c045e14e4e)', Build type 'Release', Scripting Backend 'il2cpp'
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
[Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/261C1391-9475-4370-A7F5-3710D3C572D7/NewUnityProject1.app/Data/UnitySubsystems
[Subsystems] No descriptors matched for  examples in UnitySubsystems/cardboard_api/UnitySubsystemsManifest.json.
[Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/cardboard_api/UnitySubsystemsManifest.json
[Subsystems] 1 'displays' descriptors matched in UnitySubsystems/cardboard_api/UnitySubsystemsManifest.json
[Subsystems] No descriptors matched for  meshings in UnitySubsystems/cardboard_api/UnitySubsystemsManifest.json.
GfxDevice: creating device client; threaded=1
Renderer: Apple A10 GPU
Vendor:   Apple Inc.
Version:  OpenGL ES 2.0 Metal - 68.7
GLES:     2
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_
read_format GL_IMG_texture_compression_pvrtc
OPENGL LOG: Creating OpenGL ES 2.0 graphics device ; Context level  <OpenGL ES 2.0> ; Context handle -2132546592
OPENGL LOG: OpenGLES2 is deprecated on this platform
Initialize engine version: 2019.4.1f1 (e6c045e14e4e)
XRGeneral Settings awakening...
UnityEngine.XR.Management.XRGeneralSettings:Awake()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[Subsystems] Loading plugin cardboard_api for subsystem Display...
[Subsystems] Failed to initialize subsystem Display [error: 1]
[Subsystems] Loading plugin cardboard_api for subsystem Input...
[Subsystems] Failed to initialize subsystem Input [error: 1]
2020-10-06 15:58:35.533163+0300 NewUnityProject1[436:23856] fopen failed for data file: errno = 2 (No such file or directory)
2020-10-06 15:58:35.533320+0300 NewUnityProject1[436:23856] Errors found! Invalidating cache...
2020-10-06 15:58:35.543174+0300 NewUnityProject1[436:23856] fopen failed for data file: errno = 2 (No such file or directory)
2020-10-06 15:58:35.543292+0300 NewUnityProject1[436:23856] Errors found! Invalidating cache...
2020-10-06 15:58:35.545987+0300 NewUnityProject1[436:23856] fopen failed for data file: errno = 2 (No such file or directory)
2020-10-06 15:58:35.546062+0300 NewUnityProject1[436:23856] Errors found! Invalidating cache...
2020-10-06 15:58:35.627935+0300 NewUnityProject1[436:23621] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x102d84c10>.
UnloadTime: 5.793375 ms
Compiled for iOS
Vuforia.PlatformRuntimeInitialization:InitPlatform()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Initializing Vuforia Engine
Vuforia.VuforiaRuntime:InitVuforia()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Vuforia Engine Version: 8.5.8
Vuforia.VuforiaRuntime:LogVersions()
Vuforia.VuforiaRuntime:InitVuforia()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Vuforia Engine Unity Extension Version: 8.5.9
Vuforia.VuforiaRuntime:LogVersions()
Vuforia.VuforiaRuntime:InitVuforia()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Unity Editor Version: 2019.4.1f1
Vuforia.VuforiaRuntime:InitVuforia()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
2020-10-06 15:58:38.202813+0300 NewUnityProject1[436:23621] Requesting access to the camera
[CardboardApi] No device params found.
Google.XR.Cardboard.Api:HasDeviceParams()
CardboardStartup:Start()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[CardboardApi] QR Code scanning activity launched.
Google.XR.Cardboard.Api:ScanDeviceParams()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
-> applicationWillResignActive()
2020-10-06 15:59:52.638899+0300 NewUnityProject1[436:23823] User granted access to the camera
-> applicationDidBecomeActive()
[CardboardApi] Reload device parameters.
Google.XR.Cardboard.Api:ReloadDeviceParams()
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Duplicate issue #149:  IOS Failed to initialize subsystem Input [error: 1]
Created: 2020-10-27T07:35:36Z

Closing comment (2020-10-29T13:43:34Z): Duplicate of #133