Search Unity

  1. Unity 2019.4 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  3. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Face not being detected ARCore

Discussion in 'AR' started by rexcheung, Jun 22, 2020.

  1. rexcheung

    rexcheung

    Joined:
    Feb 2, 2017
    Posts:
    31
    I have added ARCore to an empty project and after adding AR Session and AR Session Origin objects, and after clicking build and run, I can render a cube in AR (on the phone screen in real life) and it seems to behave properly (looks like it is in the real world not just rendered onto the canvas).

    However, when I try to implement the face tracking, it does not seem to detect a face. I have added an AR Face manager script to the AR Session Origin gameobject and created a default AR Face Prefab, assigning it to the face manager. I have also assigned the AR Camera as the main camera if that matters.

    I am using a samsung galaxy s8. I am exporting as a development build and USB debugging is enabled. I also made sure the save and include the scene in the build settings.

    Edit: I have tried plane detection too and it works.

    upload_2020-6-22_18-27-18.png
     
    Last edited: Jun 22, 2020
unityunity