Search Unity

Bug Adding images to Images tracker

Discussion in 'AR' started by dbenitez_unity, Jan 22, 2023.

  1. dbenitez_unity

    dbenitez_unity

    Joined:
    Oct 3, 2021
    Posts:
    1
    Hi,

    I'm trying to add images on runtime to be recognized by Image tracker. I'm following the tutorial:
    https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.0/manual/tracked-image-manager.html

    But an error is thrown in this line:

    trackImageManager.referenceLibrary = trackImageManager.CreateRuntimeLibrary(xrReferenceImageLibrary);

    the error is exactly in this line of ARTrackedImageManager.cs:

    if (subsystem == null)
    throw new NotSupportedException("No image tracking subsystem found. This usually means image tracking is not supported.");


    It seams to tell that image tracking is not supported. But if I try to track image added in the XRReferenceImageLibrary in the editor, it is working fine. Then I understand that the image tracking is supported and working well.

    I'm developing an aplication for Android ARMv7 using as a target System: Android Oreo 8.1, and I'm using Unity in the version 2020.2.7f1 and the verison of AR Foundation 4.1.13

    Thanks in advance!!!!!
    Daniel
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    If you don't have a loaded image tracking subsystem on device, there's a bigger issue that's causing this. I can't tell based on this report but if you file a bug our QA team can take a look at your repro case: https://unity3d.com/unity/qa/bug-reporting