When i port my game into VR, android phone gives me “Stopped working”?

The game installs and plays completely fine when it’s not in VR, but when i port it to VR, it gives me “(gameName) stopped working”. I’ve used two methods for doing this, but with both i get the same result. My methods were, one, checking “Virtual Reality Supported” check box, and two, using GVR SDK.

Btw, the game shows up in the CardBoard app, but i can’t run it from there either.

I tried the game on LG G2 running CyanogenMod 13 (Android 6.0), and a Samsung j5 (Android 5.1.1-stock).

Can you help me with this? If there is any information you need, please tell me.

Here’s a logcat of my game

hi,

Are you using the last SDK to google-vr? what version do you use in Unity3D? Try to reinstall SDK and check permissons in Pluggin → Android → Android Mainfest and you don’t check “Virtual Reality Supported”.

Check this issues DemoScene in Unity 5.4.0f3 Memory growth until crash · Issue #301 · googlevr/gvr-unity-sdk · GitHub & App crashes in 'VR Mode Enabled' switch · Issue #303 · googlevr/gvr-unity-sdk · GitHub

I hope you can find the solution.

thanks a lot man, unchecking “virtual reality supported” fixed the problem!