Search Unity

ARCore current version

Discussion in 'AR/VR (XR) Discussion' started by ptc-gkanai, Aug 10, 2020.

  1. ptc-gkanai

    ptc-gkanai

    Joined:
    Jul 3, 2019
    Posts:
    3
    Hey All!

    Is there a way to get the current version of ARCore that unity uses in
    IPostGenerateGradleAndroidProject callback?

    The problem I'm facing is that I would need to include ARCore a min version 1.12 in the project (hopefully the backwards compatibility is present in ARCore versions) but when I do that by adding it into the gradle the obvious "Gradle versions are colliding" for arCore message pops in, due to the fact that Unity has its own ARCore when I fuse my project with ARFoundation functionalities. So I'd need to check the current version of the ARCore unity is using, which doesn't seem to be possible. Or is it?
    Thanks for the answers!
    Bests,
    Gergely
     
    dudleyhk and dylan-hart like this.