Skip to content

Can't release Basler camera such that it can be used by other apps #54

@violet-cortinaproductions

Description

Describe the bug
I'm using the AVProLiveCameraManager.Deinit(); method to attempt to release cameras so they can be used by other apps without closing the unity project, and while this works with most other cameras I have tested (e.g. integrated laptop camera and a usb webcam), it doesn't work with the specific camera I'm using, which is a Basler a2A1920-160ucPRO (appears within AVPro as Basler GenICam)

Your Setup (please complete the following information):

  • Unity version: 2020.3.48f1
  • AVPro Live Camera version: 2.9.3
  • Operating system version: Windows 11
  • Hardware/webcam model: Basler a2A1920-160ucPRO / Basler GenICam
  • Video mode (resolution, frame-rate, etc): 1936x1216@152.9052fps

To Reproduce
Steps to reproduce the behavior:

  1. Open the camera with AVPro
  2. Deinit AVProLiveCamera:
    1. AVProLiveCameraDevice.Stop()
    2. AVProLiveCameraDevice.Close()
    3. AVProLiveCameraManager.Deinit()
  3. Try to open the camera in another app
  4. The other app says the camera is already in use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions