Search Unity

Multiple target tracking does not work.

Discussion in 'Vuforia' started by jiraphatK, May 15, 2019.

  1. jiraphatK

    jiraphatK

    Joined:
    Sep 29, 2018
    Posts:
    300
    I did changed the Max Simultaneous Tracked Image to 4 in AR camera configuration.
    I have only 4 targets in scene in which I want to tracked them at the same time,
    but when I build to andriod, the app can only tracked one target.
    upload_2019-5-15_23-42-17.png
    Vuforia version 8.1.10
    Unity version 2018.3.7
     
  2. meedabit

    meedabit

    Official Vuforia Employee Vuforia

    Joined:
    Dec 8, 2016
    Posts:
    266
    Hello,

    I believe your use of Vuforia game objects is incorrect. Here is the hierarchy from our Core samples, which demonstrate multiple target tracking.

    2019-05-15_16-09-32.png

    These samples are available for free on the Unity Asset Store and provide best practice examples for Vuforia's use with Unity.

    Thanks,
    Vuforia Engine Support
     
  3. jiraphatK

    jiraphatK

    Joined:
    Sep 29, 2018
    Posts:
    300
    Thanks for the reply. I set up everything the same with vuforia sample project but the tracking still did not work. So, I created a new project and imported everything to the vuforia sample scene and it's working now.
    The new problem is the lighting issue.
    I can see models fine in editor but they got real dark in the app.
    If I move my camera near the model, they will lighten up.
    Why is this weird behaviour happening?
    The directional light is not parent to anything and the world center mode is set to the first object.