- Home /
Cardboard on iPhone 5 doesn't render in stereo.
Has anyone ran into this?
I'm on Unity 5.1.1p3, Cardboard Unity Integration v0.5 (5/28/2015) and an iPhone 5 running iOS 8.3 (12F70). I'm not getting any weird console logs so I'm not sure what's wrong. The only thing I did notice is that the iPhone6 is using the Metal API while the iPhone 5 is using GLES2.
I made a game that uses Cardboard and on an iPhone 6 the screen renders as expected: two offset cameras. On an iPhone 5 however, while the screen does show the 2 viewport masking and the distortion correction, it's actually a single camera that is being rendered, defeating the purpose of Cardboard.
Here's what I mean. This is the iPhone 6, as expected:
And this is the iPhone 5, which is wrong:
Any ideas?
Answer by saldavonschwartz · Jul 19, 2015 at 04:16 AM
I found the issue. Though I'm still not 100% sure why this is so. But it turns out that if using GLES2 and using any post processing / screen space effects from Unity, I have to switch the Cardboard SDK's direct rendering mode off. Doing that (or alternatively not using post processing at all on the cameras) makes the game render correctly on GLES2.
A separate issue that still remains is why the first time I attempt running a fresh build from within Xcode, the app will crash while creating the render buffers. After that initial crash, starting the app subsequent times from within the springboard does not crash.
When I turn off direct rendering, it no longer renders the left screen at all for me. Any clue what that might be?
I hadn't seen this comment, sorry for the late reply. But no I have no idea since there is not much documentation of anything.
At this point hopefully you are on the new GoogleVR SD$$anonymous$$ which seems to be less finicky than the previous ones.
Answer by jinsoolee · May 18, 2016 at 07:22 AM
You have to turn off "Direct Render" at Stereo Controller.,You
Your answer
Follow this Question
Related Questions
Publishing for IOS trouble: MarFileParser.sh permission denied then MapFileParser.sh Not Found 1 Answer
Will AspNetCore SignalR 1.0.1 works on unity ios? 0 Answers
Unity Build IOS XCODE build error ReentrantLock 0 Answers
can't profile ios device 0 Answers
Game won't run on iPhone even with the device selected 0 Answers