• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by abennani · Feb 15, 2019 at 01:29 PM · iosaugmented reality

ARFoundation: screen tearing on iOS, but not On Android

Hello everyone !

I'm getting a weird behavior using ARFoundation libraries. I use the same project to build my project for both Android (ARCore / OpenGLES) and iOS (ARKit / Metal) platforms. Apart from minor lighting differences between the two OS (different lighting scenes), we should expect the same result while using an augmented reality framework.

On Android, it is fine. But when I turn on AR mode on iOS (and only on iOS), the background is torn and AR objects are following the device movements (like a boat / jelly movement effect). Here is a video illustrating my issue: https://www.youtube.com/watch?v=HE2bdYUernQ

I suppose that the real-time video stream being not processed properly causes the tracking being temporally broken... But these should be directly handled by the AR libs, am I right ?

My Application target frame rate is set to 60. On a 5th gen iPad, we can slow down to 12 fps... but with more powerful devices (> 30fps), we do have the same issue ! So performance doesn't seem to be the only factor here.

I tried to change update types in TrackedPoseDriver (script attached to AR Camera), but nothing solved my problem.

Has anyone ever encountered this issue, either with ARFoundation libs or with ARKit integration only ?

Thanks in advance.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by kelna2 · Apr 29, 2019 at 03:05 AM

I'm currently in the process of converting my ARKit v1 app to AR Foundation and I ran into this problem while switching out my code. The issue for me was a null reference exception in my code. I also had made the mistake of upgrading Unity to 2019.1.x. According to the AR foundation Github, AR Foundation currently only works with 2018.3.x

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by virgilcwyile · Nov 12, 2019 at 06:48 AM

I am using 2019.2.6f1 and ARFoundation. And Even I am having the same issue. I am using Face Tracking feature on iPhone 11. If any one figures out the resolution to this problem, do keep posted. The issue kick's in after few minutes of using the application. I tried turning of Anti-Aliasing, VSync, Shadow Cascades and almost all settings which I thought could cause the issue. However I noticed its the entire camera screen stuttering.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by agbrandon · May 29 at 10:23 PM

Same issue on iOS (6th gen iPad) AR Foundation 4.3.2 and Unity 2021.3.

Was hoping to find an answer. Any luck @abennani ?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image agbrandon · May 31 at 07:42 PM 0
Share

I had this exact same problem and fixed it - link here: https://forum.unity.com/threads/jitter-and-screen-tearing-on-ios-only-using-ar-foundation-4-2-3-unity-2021-3.1288670/

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

140 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[AR Foundation][URP] AR Occlusion Soft Edges, iOS & Android 0 Answers

How to remove point clouds in Arkit? 0 Answers

ARFoundation ImageTracking is not detecting images on iOS 13.4.1 0 Answers

Object tracking with AR foundation not working 0 Answers

Snapping image and display it on next scene 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges