# Could\`t connect to camera in unity after one run.

**URL:** <https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146>\
**Category:** Unity\
**Tags:** unity\
**Created:** [April 7, 2026, 3:03pm UTC](https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146 "2026-04-07T15:03:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anatema](https://community.stereolabs.com/user_avatar/community.stereolabs.com/anatema/32/6061_2.png) [@Anatema](https://community.stereolabs.com/u/Anatema)\
**Post date:** [April 7, 2026, 3:03pm UTC](https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146/1 "2026-04-07T15:03:23Z")

</div>

Hi,

I’m building a project using **Unity 6.3** and **ZED SDK 5.2.0** (SDK on PC is 5.2.3, CUDA 13.2).

After setup, I imported some sample scenes (Object Tracking, Body Detection, and Point Cloud) and tried to run them. The first run in the Unity Editor always works fine. However, if I stop Play Mode and try to run the scene again, the ZED camera no longer works.

I receive the following error:

> ZEDManager on ZED\_Rig\_Mono couldn’t connect to camera: CAMERA\_ID\_01. Check if another ZEDManager is already connected.  
> UnityEngine.Debug:LogError (object)  
> ZEDManager:Awake() (at ./Library/PackageCache/com.[stereolabs](https://www.stereolabs.com/).zed@…/ZEDManager.cs:2124)

The only ways I’ve found to fix this are:

- Restart the entire Unity Editor, or

- Do the following workaround:

This makes me think the camera is not being properly released when exiting Play Mode, but I’m not sure how to fix it.

The project is completely empty except for the ZED SDK samples, so there shouldn’t be any conflicts with other scripts.

Has anyone encountered this issue or knows how to properly release the camera between Play Mode sessions?

---

<div class="post-metadata">

**Author:** ![Anatema](https://community.stereolabs.com/user_avatar/community.stereolabs.com/anatema/32/6061_2.png) [@Anatema](https://community.stereolabs.com/u/Anatema)\
**Post date:** [April 9, 2026, 12:41pm UTC](https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146/2 "2026-04-09T12:41:54Z")

</div>

Only thing that helped me is to downgrade all sdk to 5.1

5.2 right now is not usable(checked on multiple PCs)

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [April 9, 2026, 2:44pm UTC](https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146/3 "2026-04-09T14:44:27Z")

</div>

Hi, thanks for the feedback. I managed to reproduce the error (with 5.2.3), I’ll let you know once a fix is available.

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [April 10, 2026, 8:45am UTC](https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146/4 "2026-04-10T08:45:32Z")

</div>

I pushed a fix, can you update the plugin and try again ?

---

<div class="post-metadata">

**Author:** ![Anatema](https://community.stereolabs.com/user_avatar/community.stereolabs.com/anatema/32/6061_2.png) [@Anatema](https://community.stereolabs.com/u/Anatema)\
**Post date:** [April 10, 2026, 10:27am UTC](https://community.stereolabs.com/t/could-t-connect-to-camera-in-unity-after-one-run/11146/5 "2026-04-10T10:27:37Z")

</div>

i updated from 5.2 unity sdk to 5.2.1. It looks like everything is fine. multiple launches and scene reloads went without bugs.
