On all apps that I can find that use Cardboard in iOS 14 (iPhone), the VR view is insanely bugged. The camera swings wildly all over the place.
Here is a video example: https://www.reddit.com/r/youtube/comments/i1nbs0/ios_14_vr_error/
The official Google Cardboard app-store application is broken as soon as you start it. It is also broken on the app I develop for which uses GVR and Unity.
Weirdly, it will temporarily function as expected if you restart your iPhone. The time it takes to break is seemingly random - sometimes it will be broken right away, and sometimes it will work for hours before breaking.
We have tested this on two iPhone 8+, and an iPhone 11.
Things I have tried:
Updating to beta iOS14.2 does not fix the issue.
Rebuilding in Xcode 12.2 Beta does not fix the issue
No errors or warning appear in my local build for our GVR project.
Turns out GVR is now obsolete for IOS14 (unless someone makes a fix for it.. doubt it). Have to upgrade to Cardboard SDK.
https://github.com/googlevr/cardboard/issues/118
I've answered this question on the Official Goggle Cardboard repository, but here's a quick recap for who got here first:
This is a iOS 14 incompatibility with the (now obsolete) Google Cardboard Plugin for Unity. I don't know for sure if there's a workaround to continue using this plugin, but I've tested the new plugin on both iPhone XR and SE and it works exactly as expected.
I've even loaded my app and the test app side by side, having the first one with a completely bugged view as described on the post and the test app, with the new plugin, working normally.
Finally, in order to continue using Cardboard VR with Unity on iOS 14, you should:
Upgrade to Unity 2019.3.15f1 or later
Integrate the new Google Cardboard XR Plugin
The new Cardboard XR plugin fixes this iOS 14 issue however, it was still somewhat buggy for me. My solution to this was to update my app with the Mobfish Google Cardboard package. I highly recommend it. It works with Metal/OpenGLES2/OpenGLES3 and default renderer/URP/HDRP. It also works with unity 2018 and up so no XR subsystem is needed. I published an update to my app using this plugin and it fixed the issue that arose from iOS 14.
Alright so look. I'm using an I7 updated to the most recent version of IOS14 AND Unity 2020.1.9f and xcode12, I've integrated the project EXACTLY how the https://github.com/googlevr/cardboard-xr-plugin shows it to be more specific here's the actual step by step page I followed and the ONLY way it has worked for me so far(does work outside of the test scene too just reverse engineer what's in the test scene or create a prefab of the player and drag and drop into your original scene then delete the old sample scene out of your build scenes)https://developers.google.com/cardboard/develop/unity/quickstart
obviously make sure you follow the steps for your phone, but make sure you follow every step exactly how it's done.
I WOULD NOT RECOMMEND DOWNGRADING PAST 2019.4.11f
Anything past 2019.4.11f has a bunch of depreciated scripts that will either cause issues in build or in xcode, also the new unity is set up to allow people to easily ask for permissions now needed with iOS' new privacy policy and security. For example if you build a successful VR project in an older version of Unity you MAY be giving up other cool features like voice command and etc...
FYI:
I was able to make it work without the need of compiling anything.
(I use a DESTEK V5 headset with an iPhone 11 running iOS 14.5 beta)
How I solved it:
I just updated to 14.5 beta, but also
I installed "Player360" from Mobfish.
After a restart, it works perfectly.
VR cardboard view 1
VR cardboard view 2
Please the experts explain what might be the trick happening here:
I don't know if it was the update to 14.5 beta and/or installing the app from Mobfish. (I thought if I installed an app with the Unity plugin update for iOS 14.X embedded, I might be forcing iOS to use the Unity VR version what was on its RAM).
CAVEATS: the issue comes back under the following conditions:
After switching from one VR app to another
After using the VR app for a long period (I use Holofit for indoor rowing)
Solution: Restart iOS
UPDATED
Related
I'm currently working on an AR project for mobile using the Vuforia engine package in Unity.
The project works fine on the Unity Editor and when i export it to Android Studio.
However when i export it on XCode for iOS, Unity launches correctly but then i get an execution error message from Vuforia.
See error screenshot:
I currently use Unity 2020.3.29f1, Vuforia 10.12.3 and XCode 14.2, i do test the project on an Iphone 14 pro simulator with iOS 16. I have tried upgrading and downgrading Unity and Vuforia versions. I also have tried creating an new empty Unity project and adding the Vuforia package (so that Vuforia get's initialized on start), none of that works. I know the problem comes from vuforia because i tried exporting an previous unity project of mine that doesn't use Vuforia and it directly worked.
Thank you
Apparently Vuforia didn't support iOS simulator as of 2018 and i'm guessing it's still the case, i don't have a device to test whether that's where the problem comes from or not. I'll post an update when i can.
vuforia forum
[UPDATE]
I have tried the app on a physical iPhone 13 Pro with iOS 16.2 and it worked directly, i think it's safe to say Vuforia still doesn't accept iPhone simulators
Photo of the working app
I have found similar questions in this and this articles, but neither can solve my problem.
The message given by Apple Store Connect was also "ITMS-90725: SDK Version Issue - This app was built with the iOS 14.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later."
However, I have checked that I am using xcode 13.2.1 which works with iOS 15.2 SDK, running on macOS Big Sur 11.6.4 (well.... a 2015 iMac, kind of old though). I believe it is capable of building a project with iOS 15.2 SDK, but I just can't find where I shall tune (if necessary) to avoid it keeping using iOS 14.4 SDK to build my project. Could you please help me solve the issue? Thank you very much!!
The figures below show the environment I mentioned above:
Looks like you have multiple Xcodes installed, please make sure you have selected the correct version for your Command Line Tools
I found that it was an embarrassing reason which caused the problem I raised above. I think I am responsible for showing what was going on to all who have read this post, and especially to those who had paused to think about this issue.
In short, Xcode 13.2.1 does build the app using iOS 15.2 SDK.
I was able to successfully archive, verify in Xcode, and uploaded the binary to app store connect. However, I was not familiar with the app store connect and did not aware that there was another binary built with iOS 14.4 SDK which was left by my predecessor.
Though I tried several times rebuild and re-upload, I kept falsely submitting the old binary to Apple's reviewer.
That's it, and no bug or secret about Xcode using older version of iOS SDK to build apps, it is just not true. Xcode does build using its latest SDK. Again my apologies to those who also worried about this issue.
This is a high-level question so some general guidance will be helpful here.
I am developing an app using react native and firebase. I have a web version, and am developing a react native app and testing it using iOS simulator.
From yesterday, iOS simulator won't show any image for my app, while the images all show up properly on my web/mobile web versions.
Any potential reasons why this might be happening? New to app development and am very confused, especially because until yesterday all the images were loaded on iOS simulator as well without any problem.
Any idea? Thanks!
is the simulator iOS 14 and your RN version is below 63? if yes this is a known issue you can use a patch package in RN issues in GitHub that fixes this or use react-native-fast-image. I personally use fastImage because it has a lot of benefits.
Our team is developing a Google VR app (aka Google Cardboard) with Unity 3D. The build crashes loading scene on iPhone 6 after updating to the latest available version of that device: iOS 12.4.3.
Notice we've tested and it's working perfectly on the previous versions. Specifically we've tested on iOS 11.4 and 13.4.4. It's also working well on the Unity editor and other iPhones released after iPhone 6 (6s, 7...)
We've called Apple, but they just suggest us to patch the bug because they don't know if they will fix it (or when).
The official Github issues tracker of GoogleVR for Unity3d has been archived, so we can't report the issue there either.
Do anybody was able to find out how to patch it?
Unity version: 2018.3.8f and GoogleVR: 1.190.1 (aka Cardboard)
i started developing an hybrid app using phone gap and jquery. while the
android app is working quite fine, except some performance and usability issues according
effects - like page transitions-, i tried to "port" this app to an iPod touch running iOS 4.3!
calling the camera, the photo library or accessing the filesystem stopped working, and actually i experienced that even the listener for checking if the device got ready stopped working.
well what happened? actually the hooks in the window-object for accessing the filesystem or other features are not available on iOS.
.... ???
thanks in advance
Make sure you are linking to the correct phonegap.js file. Although they are all titled the same, each OS has a different version. Go into the unzipped directory you downloaded from phonegap's site and make sure you're using the iOS version of phonegap.js.
If you upgraded your version of PhoneGap and are still using a project that was made before you upgraded, then you should create a new PhoneGap project in Xcode and put your www folder in the new project. This worked for me.