derenlei / Unity_Detection2AR

Localize 2D image object detection in 3D Scene with Yolo in Unity Barracuda and ARFoundation.
https://derenlei.medium.com/object-detection-with-localization-using-unity-barracuda-and-arfoundation-794b4eff02f8
MIT License
218 stars 61 forks source link

No active UnityEngine.XR.ARSubsystems.XRSessionSubsystem is available (Warning) #3

Closed L0GI0 closed 3 years ago

L0GI0 commented 3 years ago

image

Hello Sir, do you mby know solution to these warning ? Initialize XR on Startup is checked, but there is no ARCamera option in Plug-in providers, if enabling it should be done there.

image

Thanks for your time and sharing your project ;D

L0GI0 commented 3 years ago

Also, can u mby somehow use laptop web cam camera and play this project in Unity ? Thank you, BR.

BeiieB commented 3 years ago

Hi, I built the project on an Android phone but didn't see those warnings. If you are getting a black screen on Android, try the following steps:

  1. Check ARCore in Plug-in Providers. image
  2. Set Project Settings -> Player -> Other Settings -> Minimum API Level to API Level 24.
  3. Enable Auto Graphics API image It works fine on my Android phone.
L0GI0 commented 3 years ago

Thank you, that help to successfully build and run the project.