Search Unity

Bug TryAcquireLatestCpuI Failed to acquire new image, due to too many images acquired but not released.

Discussion in 'Android' started by rsjowell, Apr 30, 2021.

  1. rsjowell

    rsjowell

    Joined:
    Jun 15, 2019
    Posts:
    4
    I get the above error when I try to capture a camera frame in my game. It seems to work fine in iOS, but not on Android. Any thoughts?
     
  2. KyryloKuzyk

    KyryloKuzyk

    Joined:
    Nov 4, 2013
    Posts:
    1,143
    Please don't forget to call the XRCpuImage.Dispose() after you're done processing the image.