Open sanylop opened 5 years ago
When I run the demo "HelloVR" i can't view in double screen in my device and in Android Studio I have this messages:
2019-05-18 18:42:01.189 6564-6564/? E/Unity: Exception while trying to get method initialize. initialize [class android.app.Activity, class android.content.Context, class android.view.SurfaceView, boolean, class android.os.Handler] 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Unable to create method: initialize 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Google VR Error [null]: Exception while trying to intialize Unity Google VR Library. Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Google VR Error [null]: Unable to initialize GoogleVR library. 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Unable to initialize Google VR subsystem. 2019-05-18 18:42:01.189 6564-6579/? E/GvrShimUnity: destroyShim uninitialized 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Error trying to call delegated method unload. null 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Exception while trying to get method initialize. initialize [class android.app.Activity, class android.content.Context, class android.view.SurfaceView, boolean, class android.os.Handler] 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Unable to create method: initialize 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Google VR Error [null]: Exception while trying to intialize Unity Google VR Library. Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Google VR Error [null]: Unable to initialize GoogleVR library. 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Unable to initialize Google VR subsystem. 2019-05-18 18:42:01.205 6564-6579/? E/GvrShimUnity: destroyShim uninitialized 2019-05-18 18:42:01.221 6564-6564/? E/Unity: Error trying to call delegated method unload. null 2019-05-18 18:42:01.422 6564-6579/? E/GvrShimUnity: initShimWithContext gvr context pointer cannot be null 2019-05-18 18:42:01.435 6564-6579/? E/Unity: GvrShimUnity_initShimWithContext returned error.
(Filename: ./Runtime/Export/Debug.bindings.h Line: 45)
2019-05-18 18:42:01.435 6564-6579/? E/GvrShimUnity: resumeShim shim uninitialized 2019-05-18 18:42:01.436 6564-6579/? E/Unity: GvrShimUnity_resumeShim returned error.
2019-05-18 18:42:01.440 6564-6579/? E/Unity: VR is disabled
adb shell getprop ro.build.fingerprint
adb shell dumpsys display | grep mBaseDisplayInfo
adb shell pm dump com.google.vr.vrcore | findstr /i "packages: versionName"
adb shell pm dump com.google.vr.vrcore | egrep -i versionName\|packages:
Do you have VR enabled in Player Settings > XR Settings with either Daydream or Cardboard VR SDKs added?
SPECIFIC ISSUE ENCOUNTERED
When I run the demo "HelloVR" i can't view in double screen in my device and in Android Studio I have this messages:
2019-05-18 18:42:01.189 6564-6564/? E/Unity: Exception while trying to get method initialize. initialize [class android.app.Activity, class android.content.Context, class android.view.SurfaceView, boolean, class android.os.Handler] 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Unable to create method: initialize 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Google VR Error [null]: Exception while trying to intialize Unity Google VR Library. Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Google VR Error [null]: Unable to initialize GoogleVR library. 2019-05-18 18:42:01.189 6564-6564/? E/Unity: Unable to initialize Google VR subsystem. 2019-05-18 18:42:01.189 6564-6579/? E/GvrShimUnity: destroyShim uninitialized 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Error trying to call delegated method unload. null 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Exception while trying to get method initialize. initialize [class android.app.Activity, class android.content.Context, class android.view.SurfaceView, boolean, class android.os.Handler] 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Unable to create method: initialize 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Google VR Error [null]: Exception while trying to intialize Unity Google VR Library. Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Google VR Error [null]: Unable to initialize GoogleVR library. 2019-05-18 18:42:01.205 6564-6564/? E/Unity: Unable to initialize Google VR subsystem. 2019-05-18 18:42:01.205 6564-6579/? E/GvrShimUnity: destroyShim uninitialized 2019-05-18 18:42:01.221 6564-6564/? E/Unity: Error trying to call delegated method unload. null 2019-05-18 18:42:01.422 6564-6579/? E/GvrShimUnity: initShimWithContext gvr context pointer cannot be null 2019-05-18 18:42:01.435 6564-6579/? E/Unity: GvrShimUnity_initShimWithContext returned error.
2019-05-18 18:42:01.435 6564-6579/? E/GvrShimUnity: resumeShim shim uninitialized 2019-05-18 18:42:01.436 6564-6579/? E/Unity: GvrShimUnity_resumeShim returned error.
2019-05-18 18:42:01.440 6564-6579/? E/Unity: VR is disabled
HARDWARE/SOFTWARE VERSIONS
adb shell getprop ro.build.fingerprint
adb shell dumpsys display | grep mBaseDisplayInfo
adb shell pm dump com.google.vr.vrcore | findstr /i "packages: versionName"
On macOS, use:adb shell pm dump com.google.vr.vrcore | egrep -i versionName\|packages:
STEPS TO REPRODUCE THE ISSUE