Object retrieve

I connected the ZED2 camera to the NANO board and is streaming with TX2. During streaming, the object module detection is in progress, the camera is turned on and the object is detected,
zed.retrieveObjects(objects, detection_parameters_rt); I always get a hang in this code.

Strangely, after connecting the ZED2 camera to the TX2 board, it works well when detecting objects. Why doesn’t it work while streaming?

Objects objects

int detection_confidence = 35; 
ObjectDetectionRuntimeParameters detection_parameters_rt(detection_confidence);

my environment
ZED2
ZED SDK 3.5.2
Jetson Nano
Jetson TX2
JetPack 4.3
CUDA 10.0
Opencv 4.2.0