Unreal Engine Crashes When Playing Levels in ZEDSamples Project

I recently received my ZED2i and set it up to use with the Unreal Engine plugin. While the diagnostic tool shows green checks across the board and all built examples in samples/bin work perfectly, the Unreal Engine crashes instantly when I try to play any level in the ZEDSamples project.

As I work with Unreal it’s Visual Studio is already set up as required (I’ve also double checked)
I’ve tried both with CUDA12.1 and CUDA 11.8 ( Completly reinstalling the correct ZED SDK after installing it)
I’ve tried with 5.3 (with the latest plugin) and with 5.4 (with the 5.4 branch of the project)
I’ve tried with the optimized models and without.

The issue seems similar to issue #35 on Github, but that was a couple of Unreal Engine versions ago.

Here’s the log:

LoginId:7a73e5224f2b2a0b216aea81153c2636
EpicAccountId:cc1a2b20d3b94114b114b975621545d7

Unhandled Exception: 0xc06d007e

KERNELBASE
UnrealEditor_Stereolabs!__delayLoadHelper2() [D:\a\_work\1\s\src\vctools\delayimp\delayhlp.cpp:346]
UnrealEditor_Stereolabs!_tailMerge_sl_zed_c_dll()
UnrealEditor_Stereolabs!USlCameraProxy::OpenCamera() [C:\Users\Tkappa\Downloads\zed-UE5-main\Plugins\Stereolabs\Source\Stereolabs\Private\Core\StereolabsCameraProxy.cpp:227]
UnrealEditor_ZED!AZEDPlayerController::ZedReady() [C:\Users\Tkappa\Downloads\zed-UE5-main\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDPlayerController.cpp:437]
UnrealEditor_ZED!AZEDPlayerController::Internal_OpenZedCamera() [C:\Users\Tkappa\Downloads\zed-UE5-main\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDPlayerController.cpp:428]
UnrealEditor_ZED!TBaseUObjectMethodDelegateInstance<0,AZEDPlayerController,void __cdecl(void),FNotThreadSafeNotCheckedDelegateUserPolicy>::Execute() [C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:650]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

I can’t upload the diagnostic file as I’m a new user! If you could lift this restriction I can upload that also (if it can help)

Hi,

Can you please tell me what ZED SDK version you are using ?

Thanks.

Thank you for you quick reply!

I’m using the latest available, 4.1.4.
As I went to check I realized it was published yesterday! Is there any place I can get older versions?

Here’s also the Diagnostic Results:

{
    "AI Models": {
        "info": [
            "MULTI CLASS DETECTION is not optimized",
            "MULTI CLASS MEDIUM DETECTION is not optimized",
            "MULTI CLASS ACCURATE DETECTION is not optimized",
            "HUMAN BODY FAST DETECTION is not optimized",
            "HUMAN BODY MEDIUM DETECTION is not optimized",
            "HUMAN BODY ACCURATE DETECTION is not optimized",
            "HUMAN BODY 38 FAST DETECTION is not optimized",
            "HUMAN BODY 38 MEDIUM DETECTION is not optimized",
            "HUMAN BODY 38 ACCURATE DETECTION is not optimized",
            "PERSON HEAD DETECTION is not optimized",
            "PERSON HEAD ACCURATE DETECTION is not optimized",
            "REID ASSOCIATION is not optimized",
            "NEURAL DEPTH is not optimized",
            "NEURAL PLUS DEPTH is not optimized"
        ]
    },
    "Camera Test": {
        "InternalDevicesCount": 2,
        "ZEDCount": 1,
        "camera": {
            "Device ID": 1,
            "Firmware": 1523,
            "Init Output": "OK",
            "Model": "ZED 2i",
            "Serial Number": 34664760,
            "valid": [
                "<b>Camera: </b>ZED 2i",
                "<b>Firmware: </b>1523"
            ]
        },
        "resolutions": {
            "HD1080@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 1080,
                "height (output)": 1080,
                "initialization": "OK",
                "status": true,
                "width (input)": 1920,
                "width (output)": 1920
            },
            "HD1080@30": {
                "fps (input)": 30,
                "fps (output)": 27,
                "height (input)": 1080,
                "height (output)": 1080,
                "initialization": "OK",
                "status": true,
                "width (input)": 1920,
                "width (output)": 1920
            },
            "HD2K@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 1242,
                "height (output)": 1242,
                "initialization": "OK",
                "status": true,
                "width (input)": 2208,
                "width (output)": 2208
            },
            "HD720@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@30": {
                "fps (input)": 30,
                "fps (output)": 30,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@60": {
                "dropCount": 0,
                "fps (input)": 60,
                "fps (output)": 50,
                "height (input)": 720,
                "height (output)": 720,
                "imageCount": 501,
                "initialization": "OK",
                "status": true,
                "tearingCount": 0,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "VGA@100": {
                "fps (input)": 100,
                "fps (output)": 73,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@30": {
                "fps (input)": 30,
                "fps (output)": 30,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@60": {
                "fps (input)": 60,
                "fps (output)": 59,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            }
        },
        "sensors": {
            "Firmware": 777,
            "Init Output": "OK",
            "Model": "ZED 2i (MCU)",
            "Serial Number": 34664760
        }
    },
    "Devices": {
        "ASMediaFound": false,
        "CorruptedFirmware": false,
        "MCUDetected": true,
        "OC_Cam_Detected": false,
        "OtherUSBDevices": [
        ],
        "USBList": [
            {
                "USB_path": "/17/3",
                "idProduct": "0x0626",
                "idVendor": "0x05e3"
            },
            {
                "USBMode": 3,
                "USB_path": "/17/1",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 2,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/1/4",
                "idProduct": "0x8771",
                "idVendor": "0x0bda"
            },
            {
                "USBMode": 2,
                "USB_path": "/1/1/2",
                "bDescriptorType": 1,
                "bDeviceProtocol": 0,
                "bLength": 18,
                "bMaxPacketSize0": 64,
                "bNumConfigurations": 1,
                "bcdDevice": "3.9",
                "bcdUSB": "2.0",
                "bcdUSBClass": 0,
                "bcdUSBSubClass": 0,
                "busNumber": 2,
                "device": "ZED2i MCU",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 3,
                "idProduct": "0xf881",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/1/3/3",
                "idProduct": "0x4155",
                "idVendor": "0x4c4a"
            },
            {
                "USB_path": "/3/3",
                "idProduct": "0x1167",
                "idVendor": "0x1b3f"
            },
            {
                "USB_path": "/3/3",
                "idProduct": "0x1167",
                "idVendor": "0x1b3f"
            },
            {
                "USB_path": "/17",
                "idProduct": "0x0626",
                "idVendor": "0x05e3"
            },
            {
                "USB_path": "/3/3",
                "idProduct": "0x1167",
                "idVendor": "0x1b3f"
            },
            {
                "USB_path": "/3/1",
                "idProduct": "0xc52b",
                "idVendor": "0x046d"
            },
            {
                "USB_path": "/3",
                "idProduct": "0x5411",
                "idVendor": "0x0bda"
            },
            {
                "USBMode": 3,
                "USB_path": "/17/1",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 2,
                "device": "ZED2i",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 4,
                "idProduct": "0xf880",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/1/1",
                "idProduct": "0x2512",
                "idVendor": "0x0424"
            },
            {
                "USB_path": "/3/1",
                "idProduct": "0xc52b",
                "idVendor": "0x046d"
            },
            {
                "USB_path": "/19",
                "idProduct": "0x0411",
                "idVendor": "0x0bda"
            },
            {
                "USB_path": "/1",
                "idProduct": "0x0610",
                "idVendor": "0x05e3"
            },
            {
                "USB_path": "/1/3",
                "idProduct": "0x0610",
                "idVendor": "0x05e3"
            }
        ],
        "USBMode": 3,
        "ZED Camera Module Detected": 63616,
        "ZED MCU Module Detected": 63617,
        "ZEDDetected": true,
        "captureDevices": [
        ],
        "controllers": [
            {
                "CompatibleIDs": "PCI\\VEN_8086&DEV_A36D&REV_10",
                "Description": "USB xHCI Compliant Host Controller",
                "DeviceName": "Intel(R) USB 3.1 eXtensible Host Controller - 1.10 (Microsoft)",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0000",
                "Location": "PCI bus 0, device 20, function 0",
                "Manufacturer": "Generic USB xHCI Host Controller",
                "Name": "PCI",
                "PhysicalName": "\\Device\\NTPNP_PCI0002"
            },
            {
                "CompatibleIDs": "USB\\USB30_HUB",
                "Description": "Generic SuperSpeed USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0003",
                "Location": "Port_#0003.Hub_#0003",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-5"
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0011",
                "Location": "Port_#0002.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0034",
                "Location": "Port_#0001.Hub_#0007",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-10"
            },
            {
                "CompatibleIDs": "",
                "Description": "USB Root Hub (USB 3.0)",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0022",
                "Location": "",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-1"
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0029",
                "Location": "Port_#0001.Hub_#0008",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "USB\\USB30_HUB",
                "Description": "Generic SuperSpeed USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0028",
                "Location": "Port_#0001.Hub_#0006",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "",
                "Description": "USB Root Hub (USB 3.0)",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0001",
                "Location": "",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-0"
            },
            {
                "CompatibleIDs": "USB\\USB30_HUB",
                "Description": "Generic SuperSpeed USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0010",
                "Location": "Port_#0018.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "Generic USB Hub",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0005",
                "Location": "Port_#0001.Hub_#0001",
                "Manufacturer": "(Standard USB HUBs)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-7"
            }
        ],
        "valid": [
            "<b>USB Bandwidth: </b> OK"
        ]
    },
    "Graphics Card": {
        "deviceCount": 1,
        "deviceDriverVersion": 12060,
        "devices": [
            {
                "arch": "Ampere",
                "computeCapability": "8.6",
                "cores": 8704,
                "name": "NVIDIA GeForce RTX 3080",
                "totalMemoryBytes": "10736893952",
                "totalMemoryMB": 10239.5
            }
        ],
        "initResult": 0,
        "valid": [
            "<b>Graphics card: </b> NVIDIA GeForce RTX 3080"
        ]
    },
    "Processor": {
        "OS": "Windows 10 FallCreators",
        "avxSupported": true,
        "coreCount": "8",
        "cpu": "Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz",
        "datetime": "2024-09-11 15:29:03",
        "hyperThreading": "0",
        "motherboard": "PRIME Z390-P, ASUSTeK COMPUTER INC.",
        "ramCapacity": "63.9109",
        "ramUsage": "0",
        "ramUsed": "4.62819",
        "threadCount": "8",
        "valid": [
            "<b>Processor: </b> Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz",
            "<b>Motherboard: </b> PRIME Z390-P, ASUSTeK COMPUTER INC."
        ]
    },
    "ZED SDK": {
        "CUDA Toolkit version": "V12.1.66 -->located in C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/bin/nvcc.exe",
        "CUDA loading": false,
        "ZED SDK Version (Diag)": "4.1.4",
        "ZED SDK Version (RT)": "4.1.4",
        "ai": {
            "checkAI": true,
            "cudaVersion": 12010,
            "cudnnCudartVersion": 12020,
            "cudnnVersion": 8907,
            "cudnnVersionExpected": 8907,
            "tensorVersion": 8601
        },
        "binFiles": [
            "cudnn64_8.dll",
            "cudnn_adv_infer64_8.dll",
            "cudnn_adv_train64_8.dll",
            "cudnn_cnn_infer64_8.dll",
            "cudnn_cnn_train64_8.dll",
            "cudnn_ops_infer64_8.dll",
            "cudnn_ops_train64_8.dll",
            "nvinfer.dll",
            "nvinfer_builder_resource.dll",
            "nvinfer_dispatch.dll",
            "nvinfer_lean.dll",
            "nvinfer_plugin.dll",
            "nvinfer_vc_plugin.dll",
            "nvonnxparser.dll",
            "nvparsers.dll",
            "sl_ai64.dll",
            "sl_zed64.dll",
            "zlibwapi.dll"
        ],
        "driverVersion": "560.94",
        "drivervDllVersion": "32.0.15.6094",
        "resourcesFiles": [
            "neural_depth_3.6.model",
            "neural_depth_3.6.model_optimized-fbcbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-0e53-512",
            "neural_depth_3.6.model_optimized-kcebw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-0e53-1024",
            "objects_accurate_3.2.model",
            "objects_accurate_3.2.model_optimized-fbcbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-00",
            "objects_medium_3.2.model",
            "objects_medium_3.2.model_optimized-ebgbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-00",
            "objects_performance_3.2.model",
            "objects_performance_3.2.model_optimized-fbcbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-00",
            "person_head_accurate_2.4.model",
            "person_head_accurate_2.4.model_optimized-jgabw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-00",
            "person_head_performance_2.4.model",
            "person_head_performance_2.4.model_optimized-idcbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-00",
            "person_reid_1.4.model",
            "person_reid_1.4.model_optimized-aaabw-8-86-11080-8907-8601-11-320-5120-48-100-512-68-00",
            "skeleton_body18_3.2.model",
            "skeleton_body18_3.2.model_optimized-bgabw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-2-160",
            "skeleton_body18_3.2.model_optimized-ccebw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-2-224",
            "skeleton_body18_3.2.model_optimized-dfcbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-2-352",
            "skeleton_body38_3.5.model",
            "skeleton_body38_3.5.model_optimized-bjcbw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-2-192",
            "skeleton_body38_3.5.model_optimized-dcabw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-2-320",
            "skeleton_body38_3.5.model_optimized-eeibw-1-86-11080-8907-8601-11-320-5120-48-100-512-68-0-2-448"
        ],
        "resourcesFilesExpected": [
            "objects_performance_3.2"
        ],
        "runtimeDllVersion": 12010,
        "valid": [
            "<b>ZED SDK version:</b> 4.1.4",
            "<b>CUDA version:</b> V12.1.66"
        ]
    }
}

Can you try to re download the ZED SDK 4.1.4 and reinstall it?

We identified an issue and pushed a patch very recently (today).

That fixed it!
Very bad timing on my end, thank you very much again for the quick reply!

1 Like