- Home /
Cardboard for Unity is cross-eyed
I'm making an Android app intended for use with Google Cardboard, and everything works fine in the editor. However, when I build it and use it on my phone, the left and right eye images don't quite line up, giving it a cross-eyed appearance. Both "eyes" seem to be pointing in different directions. This happens with both my own scene and the demo scene, as well as a couple Cardboard apps I downloaded from the Play Store. This would lead me to believe that this is a problem with my device, but most other apps work as intended. What am I doing wrong?
What device are you using? I've done things on the Samsung Galaxy S6 and it works great, but on a Sony Z2 the effect looks really bad. Check that you have selected your phone in the Cardboard script in your scene.
You don't need to select your phone on the Cardboard script in the scene. That's only used for simulating the stereo in the editor. The "real" device profile comes from scanning the QR code.
Which versions of Unity and the Cardboard SD$$anonymous$$ are you using?
I'm using Unity 5.2.1f1, with the newest Cardboard SD$$anonymous$$ (0.5.1). The device I'm testing on is a Oneplus One (1920x1080 5.5" screen).
Answer by dolims · Oct 16, 2015 at 03:22 PM
The solution is to set the DPI to 400. OnePlus reports a higher DPI (480) than the device really is.
The DPI settings are in the Settings app for your OPO, within the Display section. You may have to be running the newest version of CyanogenOS to change this without root.
Thank you :) for some reason i thought i needed to changed on the Application side :)
Your answer
Follow this Question
Related Questions
Unity won't accept Android SDK Location 1 Answer
Daydream Instant Preview not streaming 0 Answers
Error building .apk archive with Google Cardboard VR 0 Answers
from Local Database on PC to Android. 1 Answer
Oculus OVR 0 Answers