Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.03k stars 1.13k forks source link

2D Image tracking not working on IOS ARkit supported devices. #155

Closed kanishkaCemtrex closed 4 years ago

kanishkaCemtrex commented 5 years ago

I have been trying to get 2D Image tracking working now for quite couple of days for IOS devices. I have build the same scene as "ImageTracking" from this git repo for some reason when i build it for Android it works fine but for IOS it is not tracking the Image. I am using ARkit : preview.5 - 2.1.0 & AR foundation : preview.3 - 2.1.0 Inside your git repo scene i cannot see any gameobject with "AR Tracked Image" scirpt as in it is not attached to any of it. do i have to attached it somewhere? Please let me know if issues or queries.

tdmowrer commented 5 years ago

I have been trying to get 2D Image tracking working now for quite couple of days for IOS devices. I have build the same scene as "ImageTracking" from this git repo for some reason when i build it for Android it works fine but for IOS it is not tracking the Image. I am using ARkit : preview.5 - 2.1.0 & AR foundation : preview.3 - 2.1.0 Inside your git repo scene i cannot see any gameobject with "AR Tracked Image" scirpt as in it is not attached to any of it. do i have to attached it somewhere? Please let me know if issues or queries.

That definitely worked when it was released. What version of iOS are you using? We've seen several issues with iOS 13 beta compatibility.

kanishkaCemtrex commented 5 years ago

Ok so i am not using IOS 13 i am using IOS 12.3.1 & that is the reason also i am not using updated ARkit & ARfoundation as i know it works only for IOS 13. I am currently working on ARkit : preview.5 - 2.1.0 & AR foundation : preview.3 - 2.1.0. We have deployed the same on Android it is working ie. tracking the image target but for IOS it is not tracking.

artempinskiy commented 5 years ago

Same to me. I migrate from ARKit plugin to ARfoundation, because it also works incorrectly. Unity 2019.1.6f1 Using image tracking sample on this commit 596138b ARFoundation preview.2 - 2.1.0. ARKit XR Plugin preview.3 - 2.1.0. IOS 12.3.1. Xcode 10.2.1 What I need to do to make it work?

Update: I am update packages to this version and build work for me ARFoundation preview.3 - 2.1.0. ARKit XR Plugin preview.5 - 2.1.0.

kanishkaCemtrex commented 5 years ago

I have these same packages installed but it is not working for me. ARFoundation preview.3 - 2.1.0. ARKit XR Plugin preview.5 - 2.1.0.

Could you please send me screen shot or something so that i can understand ?

artempinskiy commented 5 years ago

screen shot of imported packages

tdmowrer commented 5 years ago

This was an issue with the version parsing of iOS "12.3.1" in ARKit XR Plugin 2.1.0-preview.3 and was fixed in 2.1.0-preview.5. See the ARKit XR Plugin changelog.

midopooler commented 3 years ago

its 2021 and I'm still facing this issue, how?

tdmowrer commented 3 years ago

@midopooler Please open a new issue.