Search Unity

Turn on phone torch while using ARcore

Discussion in 'AR' started by skoteskote, Oct 16, 2018.

Thread Status:
Not open for further replies.
  1. skoteskote

    skoteskote

    Joined:
    Feb 15, 2017
    Posts:
    87
    Is this possible yet? I need this for doing AR in lowlight conditions. I've been googling but can only find the open feature request on github.
     
    clebertavares likes this.
  2. mr0ng

    mr0ng

    Joined:
    Jun 22, 2017
    Posts:
    8
    @jakobskote I also have this question. I've been looking, but to no avail yet. It seems that flashlight / torch on Android doesn't work when ARCore is being used.
     
    clebertavares likes this.
  3. clebertavares

    clebertavares

    Joined:
    Jan 2, 2012
    Posts:
    55
    I am on this too. No solution for now.
     
  4. jhocking-bundlar

    jhocking-bundlar

    Joined:
    Nov 12, 2019
    Posts:
    24
    swell I just encountered this as well. I was able to fairly easily get the flashlight working on iOS when using AR Foundation, and I even figured out how to turn the torch on Android ordinarily, but when the AR is active I get the same as this link:
    https://github.com/google-ar/arcore-android-sdk/issues/356

    fwiw the repo that issue is on looks like this issue isn't specific to Unity, but is a limitation of ARCore.
     
  5. Bl4ckh34d

    Bl4ckh34d

    Joined:
    Apr 19, 2018
    Posts:
    47
    Any news on this? It is 2 years since the issue came up. Any workarond already?
     
  6. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335
    That is not supported by ARCore. Suggest following up with their team again on their Github.
     
Thread Status:
Not open for further replies.