ViroViewGVR fails to initialize
Mortengo opened this issue · comments
OS: Windows
IDE: AndroidStudio
ViroCore version: 'virocore-release-v_1_17_0.aar'
GVR_common: 'sdk-common-1.130.0.aar'
Devices: 1. Samsung Galaxy S8+ (works with no issues)
2. Google Pixel 2 XL (does not work on this device)
Hi everyone. I'm creating a GVR view that is essentially identical to the Hello World VR application provided by Virocore. On my main device (Samsung Galaxy S8+) I have no issue rendering either the Hello World GVR or the GVR view in my own app.
However, my other device (Google Pixel 2 XL), can render the Hello World GVR without issue, but fails when trying to run my own app. Can anyone shed some light on what might cause the ViroViewGVR to fail? The second screenshot below shows the line of code that crashes the app, in GVRViroView.class at line 53.
This had a really simple fix. I updated ''sdk-common-1.130.0.aar' ---> 'sdk-common-1.180.0.aar'. The GVR view then worked on every device I tested it with after this.