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. Dismiss Notice

Vuforia broken for Android on 2017.2.1f1

Discussion in 'Vuforia' started by nykwil, Dec 13, 2017.

  1. nykwil

    nykwil

    Joined:
    Feb 28, 2015
    Posts:
    49
    Works on iOS and editor but doesn't show camera feed on android, spams log with below until the app crashes:
    12-12 21:38:28.817: E/Unity(25687): (Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 373)
    12-12 21:38:28.850: E/Unity(25687): OPENGL NATIVE PLUG-IN ERROR: GL_OUT_OF_MEMORY: Not enough memory left to execute command

    Tried an empty project with just an AR camera and the demos on the asset store with the same results. Have used built things with Vuforia before on this device with Unity 5.6 vuforia 6.3 (I can get the exact version numbers if that helps).

    Included the full log (com.gepeto.vutest)
     

    Attached Files:

  2. skdev3

    skdev3

    Joined:
    Jul 15, 2015
    Posts:
    64
    Disable "protect graphics memory" option in Project settings.
     
  3. nykwil

    nykwil

    Joined:
    Feb 28, 2015
    Posts:
    49
    It is unchecked, assuming that is disabled. Here's the rest of the settings.
     

    Attached Files:

    • snip.PNG
      snip.PNG
      File size:
      64.7 KB
      Views:
      785
  4. ThatDarnCat

    ThatDarnCat

    Unity Technologies

    Joined:
    Jan 4, 2017
    Posts:
    23
    I can't reproduce this issue locally on my devices, so I'd like to get some more details about yours.

    Could you let me know what device you are deploying the application to? Did you give the app permissions to access the camera and device storage?

    Looking through your adb logcat, I'm seeing this:

    12-12 21:36:31.404: W/HdmiCecController(663): Failed to send <System Audio Mode Request> src: 4, dst: 5, params: FF FF err=-113
    12-12 21:36:31.533: W/HdmiCecController(663): Failed to send <Text View On> src: 4, dst: 0 err=-113
    12-12 21:36:31.779: W/HdmiCecController(663): Failed to send <Give Device Power Status> src: 4, dst: 0 err=-113

    Are you using an external display while deploying the Vuforia app?
     
  5. nykwil

    nykwil

    Joined:
    Feb 28, 2015
    Posts:
    49
    It never asks for permissions. I'm not using an external display. Testing on Nvidia tablet and pixel c.

     
  6. nykwil

    nykwil

    Joined:
    Feb 28, 2015
    Posts:
    49
    Just tested it on a lg g5 and it worked. So it could be a Tegra related bug.