Search Issue Tracker

Fixed in 2018.1.X

Fixed in 5.6.X, 2017.1.X, 2017.2.X, 2017.3.X

Votes

6

Found in

2017.3.0p1

2018.1.0b3

Issue ID

991127

Regression

Yes

[Cardboard][VR][Android] Cardboard VR fails to initialize on certain Android devices

XR SDK

-

How to reproduce:
1. Open the attached "CardboardIssue" project
2. Build it to device

Expected result: Cardboard is initialized, responds to tilting of phone
Actual result: Cardboard fails to initialize, Google VR Error "[Cardboard]: Exception caught while loading GoogleVR. Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference" is thrown in logcat

Regression introduced in - 2018.1.0b3, 2017.3.0p2
Reproducible with - 2018.1.0b4. 2018.1.0b3, 2017.3.0p3, 2017.3.0p2
Not reproducible with - 2017.3.0p1, 2018.1.0b2, 2017.2.1p2

DUT:
Reproducible with:
Samsung SM G928F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T760, Build:samsung/zenltexx/zenlte:7.0/NRD90M/G928FXXU3CQG2:user/release-keys
Motorola Moto G (4)*, OS:7.0, CPU:armeabi-v7a, GPU:Adreno (TM) 405, Build:motorola/athene/athene:7.0/NPJ25.93-14/16:user/release-keys
Google Nexus 5*, OS:6.0.1, CPU:armeabi-v7a, GPU:Adreno (TM) 330, Build:google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys
Xiaomi MI 5s*, OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Xiaomi/capricorn/capricorn:6.0.1/MXB48T/V8.0.10.0.MAGCNDH:user/release-keys

Not reproducible with:
Google Pixel 2*, OS:8.1.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:google/walleye/walleye:8.1.0/OPM1.171019.013/4474084:user/release-keys
Samsung SM G950U*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:samsung/dreamqltesq/dreamqltesq:7.0/NRD90M/G950USQU1AQC8:user/release-keys

Comments (7)

  1. andyz

    Apr 20, 2018 12:59

    OMG this is in 2017.3.1 and I can not upgrade to LTS due to another introduced bug!
    How exactly do you update GVR?

  2. joejo

    Mar 08, 2018 23:28

  3. joejo

    Mar 08, 2018 21:37

    We have an incompatibility problem with the builtin NDK that is shipped with Unity. Please update to GVR SDK 1.120 or later. This will get you around the issue with the built-in NDK.

  4. Morothar

    Feb 19, 2018 10:56

    Happens for me with most devices. Only Google Pixel 1 and Samsung Galaxy S8+ successfully enter cardboard mode.

  5. mgear

    Feb 13, 2018 05:29

    same with 2017.2.1p4 and samsung galaxy S4, android 5.0.1

  6. Cenda

    Feb 08, 2018 10:46

    same problem with Google Nexus 4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.