Search Issue Tracker

Fixed in Unity 2018.1

Votes

6

Found in

2017.3.0p1

Issue ID

991127

Regression

Yes

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

VR

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash, freeze, data loss, work stops

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. 9729f67710c383938d05b4f6655a5ae2?d=mm

    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. 1c25619fd0b1db35c78b273817e90789?d=mm

    joejo

    Mar 08, 2018 23:28

  3. 1c25619fd0b1db35c78b273817e90789?d=mm

    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. 3d32c6a5a03a7e0dffefa8ae14588ae0?d=mm

    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. C2864de360f8b628cdbeb396af7e18fd?d=mm

    mgear

    Feb 13, 2018 05:29

    same with 2017.2.1p4 and samsung galaxy S4, android 5.0.1

  6. 711822512a4b25a2222140fe2a56ad8c?d=mm

    Cenda

    Feb 08, 2018 10:46

    same problem with Google Nexus 4

All about bugs

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