Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Bug camera not working when running on android

Discussion in 'Editor & General Support' started by joaovictorpac, May 4, 2023.

  1. joaovictorpac

    joaovictorpac

    Joined:
    Jun 10, 2018
    Posts:
    19
    I can generate an apk of my AR project for Android. But the app doesn't work, I've tried several packages and methods, but the problem is always the same: the screen is black. although I enable the cell phone camera service, when I open the AR app the camera does not work. The attached images show the application screen open (including the menu below) but the camera does not work and everything is black.
    It's not device incompatibility, as I've tested it on 3 different devices: an Infinix, a Motorola and a Sansumg. All android system and appliances are current. I'm using Unity 2022.2.17.
     

    Attached Files: