# SDK 5.4.0 fails to recover ZED2i after USB connection failure

**URL:** <https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479>\
**Category:** Software\
**Tags:** sdk\
**Created:** [June 26, 2026, 6:04am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479 "2026-06-26T06:04:04Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [June 26, 2026, 6:04am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/1 "2026-06-26T06:04:04Z")

</div>

**Environment**

- ZED SDK: 5.4.0
- CUDA: 12.8.93

**Description**

**ZED Explorer**

A USB connection failure (either an intermittent USB reset/reboot or a physical disconnect) causes the following behavior:

- ZED Explorer continues displaying the last frame received before the connection failure.
- The frame counter continues to increase even though no new images are being received.
- After reconnecting the camera, ZED Explorer does not detect or reconnect to the camera.
- The camera is visible again in Windows Device Manager after reconnecting.
- Restarting ZED Explorer immediately restores normal operation, and the camera opens successfully.

**Custom C++ Application**

The same behavior is observed in our custom C++ application using the ZED SDK for body tracking. The application retrieves body tracking data from the SDK and forwards it to another system.

With previous SDK versions, the application automatically recovered from an intermittent USB connection failure by reopening the camera once the connection was restored.

With SDK 5.4.0, the recovery process no longer completes successfully. After a connection failure, the SDK reports:

_Detected Connection Failure. Trying to recover the camera with SNxxxxxxxxx_

The application remains in this state indefinitely, and the camera is never recovered, even though the device has reappeared in Windows Device Manager. Restarting the application restores normal operation.

**Previous Behavior**

With previous SDK versions, both ZED Explorer and our custom C++ application immediately detected when the camera was disconnected. Once the USB connection was restored, the camera was automatically reopened and streaming resumed without requiring the application to be restarted.

**Tested Configuration**

The issue has been reproduced on three different PCs.

System 1

- Windows 10
- Intel Core Ultra 5 235 (3.40 GHz)
- 8 GB RAM
- NVIDIA GeForce RTX 5060 (8 GB)  
ZED 2

System 2

- Windows 11
- Intel Core Ultra 5 235 (3.40 GHz)
- 8 GB RAM
- NVIDIA GeForce RTX 5060 (8 GB)
- ZED 2i

System 3

- Windows 10
- Intel Core i3-12100 (12th Gen)
- 8 GB RAM
- NVIDIA GeForce RTX 4060
- ZED 2i

The behavior is identical on all three systems.

**Additional Information**

- ZED Diagnostics does not report any errors before or after reproducing the issue.
- The SDK does not produce any additional log messages beyond:
  - _Detected Connection Failure. Trying to recover the camera with SNxxxxxxxx_

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [June 26, 2026, 11:33pm UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/2 "2026-06-26T23:33:27Z")

</div>

Hi @JereH,

There has been a change in 5.4.0 regarding the camera recovery mechanism after reboot, we will take a look if this is the cause of the issue.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [July 10, 2026, 8:53pm UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/3 "2026-07-10T20:53:54Z")

</div>

Hi @JereH,

Following up on this, I can confirm that we have identified the issue and the fix will be included in 5.4.1, which is planned to be released this month.

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [August 3, 2026, 11:53am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/4 "2026-08-03T11:53:00Z")

</div>

Hi Matt,

The issue is still present in SDK 5.4.1.

The Camera doesn’t recover when Unplugging and re-plugging while ZED Explorer or our software is running.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [August 7, 2026, 7:02pm UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/5 "2026-08-07T19:02:10Z")

</div>

Hi @JereH, we are not able to reproduce the issue internally on a Windows setup with ZED\_Explorer or a C++ application.

Can you run ZED\_Diagnostic and share the JSON file? So we can find any differences with our setup

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [August 10, 2026, 9:45am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/6 "2026-08-10T09:45:50Z")

</div>

Hi @mattrouss ,

Just installed SDK 5.4.1. to a new Windows 11 PC to check if I can reproduce the issue on a fresh machine. Behavior was identical to the previous test PC’s, ZED doesn’t recover after unplug/replug and the ZED Explorer eventually stops responding if left open.

I’ve attached the diagnostics results JSON. The AI Models aren’t optimized as I just setup the PC.

Specs:  
Intel(R) Core™ i5-10500 CPU @ 3.10GHz (3.10 GHz)  
32,0 GB DDR4  
NVIDIA GeForce RTX 5060 (8 GB)  
Windows 11 Pro 25H2

[ZED\_Diagnostic\_Results.json](https://community.stereolabs.com/uploads/short-url/qntRLUu4uHD5jHqTTinPF3QD68f.json) (10.6 KB)

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [August 10, 2026, 9:58am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/7 "2026-08-10T09:58:22Z")

</div>

Here’s a screen recording from ZED Explorer in case that helps. The moment the feed freezes I unplug/replug the ZED USB. If I click the Settings icon, the software becomes unresponsive.

Note that 5.0.7 was the last SDK version which recovered without any issues.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [August 11, 2026, 12:58am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/8 "2026-08-11T00:58:19Z")

</div>

Hi, are you connecting the camera directly to the USB controller of the machine or through a USB hub?

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [August 11, 2026, 5:08am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/9 "2026-08-11T05:08:55Z")

</div>

Hi, we always connect directly to the USB controller, which in our case is a USB 3.2 Type A Gen2 (10GBs) port connected directly to the motherboard.

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [August 26, 2026, 6:39am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/10 "2026-08-26T06:39:43Z")

</div>

Hi @mattrouss, any updates on this issue?

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [September 11, 2026, 11:37am UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/11 "2026-09-11T11:37:11Z")

</div>

Hi, following up on this again since it’s been quite some time since the last update.

Can you provide an update on the status of this issue and whether a fix is planned, given how consistently reproducible and significant the regression is?

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [September 17, 2026, 5:11pm UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/12 "2026-09-17T17:11:51Z")

</div>

Hi @JereH,

Can you confirm whether this same behavior happens when using an application using the ZED SDK, and not only ZED\_Explorer?

---

<div class="post-metadata">

**Author:** ![JereH](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/j/5f9b8f/32.png) [@JereH](https://community.stereolabs.com/u/JereH)\
**Post date:** [November 2, 2026, 12:33pm UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/13 "2026-11-02T12:33:52Z")

</div>

Hi @mattrouss

Sorry for the late reply, I’ve been out of the office.

We tested the new SDK version 5.5.1, can confirm the issue still persists. The behavior is the same in SDK and Explorer.

---

<div class="post-metadata">

**Author:** ![RodolphePerrin](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@RodolphePerrin](https://community.stereolabs.com/u/RodolphePerrin)\
**Post date:** [November 6, 2026, 2:12pm UTC](https://community.stereolabs.com/t/sdk-5-4-0-fails-to-recover-zed2i-after-usb-connection-failure/11479/14 "2026-11-06T14:12:09Z")

</div>

Hi Jere,&nbsp;

Sorry for the late reply, thank you for the feedback. I've discussed internally with our software team. A fix has been implemented and tested. It will be present on our next SDK release (5.6) due later this month.&nbsp;
