Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Tracked Pose Driver poor performances vs AR Pose Driver on Android

Discussion in 'AR' started by RedGirafeGames, Mar 30, 2023.

  1. RedGirafeGames

    RedGirafeGames

    Joined:
    Sep 30, 2016
    Posts:
    32
    Hi,

    Using Unity 2022.2.9f1, my project's AR scene has warnings on AR Pose Driver beeing deprecated for Tracked Pose Driver.
    So I duplicated my scene and did the change, but then the tracking is quiete bad on my android device.
    For example, the unity objects that are "on a table" are updated with a delay when moving the device, while they moved perfectly with the table before.

    Is it known? Is there some option somewhere to optimize this new driver?
    The component is already configured in "Update and before render" update type.

    Thanks,
    Thomas
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,843
    Did you check the profiler? That's the first step for performance issues
    If this still happens with 2022.2.12 and the latest AR packages, I suggest filing a bug report.
     
  3. RedGirafeGames

    RedGirafeGames

    Joined:
    Sep 30, 2016
    Posts:
    32
    How do you test the profiler when deployed on a device? I don't know how to test AR code without deploying it to a real device...
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,843
    In the build menu check development build and autoconnect profiler. Then you can connect the profiler (and see logs) via usb (or wifi)
     
    RedGirafeGames likes this.
  5. RedGirafeGames

    RedGirafeGames

    Joined:
    Sep 30, 2016
    Posts:
    32
    Thanks !
     
    DevDunk likes this.
  6. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    956
  7. RedGirafeGames

    RedGirafeGames

    Joined:
    Sep 30, 2016
    Posts:
    32
    andyb-unity likes this.