ShareAR & ImageTracked / ARDK3.6

Include the following details (edit as applicable):

  • Issue category: Lightship Maps / Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS / Scanning Framework
  • Device type & OS version: Android / iOS / Other Ex. iPhone 8+ on iOS 13
  • Host machine & OS version: Mac / Windows / Linux / Other Ex. Mac on Big Sur x.x
  • Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
  • Xcode version:
  • ARDK version:3.6.0
  • Unity version:2022.3.24f1

Description of the issue:
I saw the documentation and demo.
I try to do it.
There is no problem in capturing the locations of two users in the same room after scanning.

The problem is that the reference example scans the image and generates a cube on the identification map, and this function does not work at this time.

Hi Roan,

We’ve unfortunately had lots of reports of users having issues with image tracking. Here are a few things you can try:

  1. Select the image asset and ensure that the Read/Write access is enabled under Advanced in the Inspector.
  2. Test image tracking by making a new scene with just image tracking functionality – no SharedAR – and build with just Google ARCore or Apple ARKit enabled. No Lightship. Does it work? If so, try to enable both the independent ARCore or ARKit and well as Lightship as explained by this developer: https://community.lightship.dev/t/ardk-3-6-stops-image-tracking-from-working/4659/4.

I hope one of these workarounds work for you!

Kind regards,
Maverick L.

Hi Maverick_Liberty

Thank You reply me.
And I tried enabling access Read/Write

Then my Unity cannot only choose Google ARCore
When I click on Google ARCore it will automatically jump to Niantic Lightship SDK + GoogleARCore

Unfortunately it is not work .

How can I test image recognition only? Is there any tutorial?

Hi Roan,

You’re very welcome! Here are some resources for implementing image tracking:
https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.1/manual/features/image-tracking.html
https://medium.com/dscvitpune/quick-introduction-to-image-tracking-using-ar-foundation-dea7d2fbdfe9
https://immersive-insiders.com/blog/ar-foundation-image-tracking

Best,
Maverick L.

Hi Maverick_Liberty

The teaching you are talking about is ARFoundation
But how do I link ARFoundation with Lightship?

I watched the demo and it didn’t link with ARFoundation.

Video tutorial on image tracking and finding
Only in ARDK2
There is no image tracking for ARDK3

Yes, Lightship 3 is built to function as an extension upon AR Foundation. The idea is that Lightship 3 no longer “reinvents the wheel” of features already implemented in AR Foundation. The linked tutorials, while specifically for AR Foundation, are meant to work with Lightship 3 with the click of a button.

Hello,

I read through this ticket and I think this issue might be related to an image-tracking bug our developers are currently addressing. I don’t have a timeline for when it will be resolved, but we have a community member who appears to have found a workaround. Feel free to try the steps they outlined in their last reply (it’ll be the second to last) and see if it starts working for you.

https://community.lightship.dev/t/ardk-3-6-stops-image-tracking-from-working/4659/3

At the moment what we know about the bug is that when Lightship SDK + ARCore are enabled, there is a chance that the tracked image library won’t be built when you build the project which leads to image tracking not working.

Hi ,
I found the solution to the problem.
Is used ARFoundation Image Tracking and that Image Library to show object.
And multiplayer used Network Manager and Share Space Manager it is .
The question is complete .
THX everyone :slight_smile: .

This topic was automatically closed 2 hours after the last reply. New replies are no longer allowed.

No problem. Glad to see you got things working :slight_smile: