UE5.4 plugin - Crash after Installation

Hi folks and hi Benjamin :slight_smile:

I have been running in some issues with the UE project. And I decided to start from scratch. As I did not have a copy of the initial UE project (ZEDsamples), I downloaded a new one from github (UE5.4 version.

I followed the installation guide as best as I could. But even though I tried multiple times from scratch, every time UE crashes after pressing play. On the same PC, the old project runs ok. No crashes. Well, it does freeze from time to time, but not crashing.

This is the crash report I get:

LoginId:53bd200b416b0679fd79858e42b9bd9a
EpicAccountId:a70eac6a6b1b4df9903c01ab68f07c7c

Unhandled Exception: 0xc06d007e

KERNELBASE
UnrealEditor_Stereolabs!__delayLoadHelper2() [D:\a\_work\1\s\src\vctools\delayimp\delayhlp.cpp:312]
UnrealEditor_Stereolabs!_tailMerge_sl_zed_c_dll()
UnrealEditor_Stereolabs!USlCameraProxy::CheckAIModelOptimization() [G:\_Work_03_\TriluREELu\TrilureeluUE\TriluREELu_UE_54_v6\zed-UE5-5.0.0\Plugins\Stereolabs\Source\Stereolabs\Private\Core\StereolabsCameraProxy.cpp:1252]
UnrealEditor_ZED!AZEDPlayerController::Internal_OpenZedCamera() [G:\_Work_03_\TriluREELu\TrilureeluUE\TriluREELu_UE_54_v6\zed-UE5-5.0.0\Plugins\Stereolabs\Source\ZED\Private\Core\ZEDPlayerController.cpp:416]
UnrealEditor_ZED!TBaseUObjectMethodDelegateInstance<0,AZEDPlayerController,void __cdecl(void),FNotThreadSafeNotCheckedDelegateUserPolicy>::Execute() [G:\Epic Games\UE_5.4\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

This is the guide I followed. Did I do something wrong?

# Quick checklist (install these first)

* Unreal Engine **5.4** (install via Epic Games Launcher). ([Epic Games Developers][2])
* Visual Studio **(2022 or later)** with **Game development with C++** workload + MSVC toolset (v143) + Windows 10/11 SDK. ([Epic Games Developers][3])
* **ZED SDK 4.1** (Windows installer). After install, **restart** your PC (installer may prompt to install CUDA). ([Stereolabs][4])
* NVIDIA GPU (ZED needs CUDA-capable NVIDIA GPU). ([GitHub][5])
* Git (or download the repo ZIP) and enough disk space.

---

# Step-by-step install & build

1. **Clone (or download) the repo**

   * Open a terminal (PowerShell) and run:

     ```powershell
     cd C:\path\to\where\you\want\projects
     git clone https://github.com/stereolabs/zed-UE5.git
     ```
   * Or click **Code → Download ZIP** on the GitHub page. (The README also suggests downloading/cloning). ([GitHub][1])

2. **Install the ZED SDK (before building)**

   * Go to the ZED SDK download page and install the **4.1** Windows installer. During the install it may install CUDA if you don’t already have it — allow it. **Restart** your PC when the installer finishes. This makes sure the ZED runtime & PATH entries are available. ([Stereolabs][4])

3. **Install Unreal Engine 5.4** (if not already)

   * Open **Epic Games Launcher → Unreal Engine → Library → Add Engine Version** and choose **5.4**, then Install. (You can have multiple UE versions installed). ([Epic Games Developers][2])

4. **Install/verify Visual Studio**

   * Install Visual Studio 2022 (or newer). In the Visual Studio Installer choose **Game development with C++** and be sure the **MSVC v143 (VS 2022 C++ x64/x86)** build tools and a Windows SDK are selected. This is required to compile UE projects. ([Epic Games Developers][3])

5. **Associate the project with UE 5.4**

   * In File Explorer go into the cloned `zed-UE5` folder and locate **`ZEDSamples.uproject`**.
   * Right-click it → **Switch Unreal Engine version...** → pick your installed **5.4** engine and confirm. This updates the project to open with UE5.4. (This is the standard way to associate a .uproject with a specific engine.) ([Epic Games Developers][6])
   * If the right-click menu options are missing, search for **UnrealVersionSelector.exe** (inside your engine `Engine\Binaries\Win64`) and run it / or use it to associate the project (forum threads show this fix). ([Epic Developer Community Forums][7])

6. **Generate Visual Studio project files (if needed)**

   * Right-click `ZEDSamples.uproject` → **Generate Visual Studio project files**.
     (If that context menu is missing, you can also run the UE project generator tool — the engine docs show how to generate project files.) ([Epic Games Developers][8])

7. **Open solution in Visual Studio and build**

   * After generation double-click the generated `.sln` file (it’ll be in the project root).
   * In Visual Studio: set **Solution Platform = Win64** and **Configuration = Development Editor** (or Development).
   * Make sure the proper startup project is selected: if the solution’s startup project isn’t the UE project, right-click the project that corresponds to the game/editor target and choose **Set as StartUp Project**.
   * Press **Ctrl + F5** (Build -> Start Without Debugging). According to the repo README, building with Ctrl+F5 will compile and then **launch the UE5 Editor with the project**. ([GitHub][1])

8. **Run the samples**

   * Once the Editor opens you can open the sample levels inside the `ZEDSamples` project and try features (body tracking, point cloud, etc.). The repo README and the ZED UE docs describe the included samples. ([GitHub][1])

---

# Quick troubleshooting (common issues)

* **Build fails / missing toolchain**: Re-run Visual Studio Installer and add **Game development with C++** and **MSVC v143**. Many build errors come from missing components. ([Epic Games Developers][3])
* **Ctrl+F5 says "Output type Class Library cannot be started"**: make sure the correct startup project is selected in the Solution Explorer (see step 7). (Sometimes solution defaults to a library). ([Epic Developer Community Forums][9])
* **GPU Crashed / D3D Device Removed while playing**: this repo warns this can be a DirectX 12 issue — switch the project's **RHI** to **DirectX 11**: Editor → Edit → Project Settings → Platforms → Windows → Default RHI (or edit `DefaultEngine.ini` and set `DefaultGraphicsRHI=DefaultGraphicsRHI_DX11`). Then restart Editor. ([GitHub][1])
* **Packaging to Shipping fails**: README notes a bug with Shipping builds — use a **Development** build for now. ([GitHub][1])
* **ZED camera not found / DLL errors**: confirm ZED SDK installed and the camera works with the ZED Explorer app that was installed with the SDK. Also check your PATH contains the ZED SDK `bin` folder (installer should set this). ([Stereolabs][10])

---

# Links & docs I used (so you can open them)

* GitHub repo (README / instructions): stereoLabs zed-UE5. ([GitHub][1])
* ZED Unreal docs / plugin docs: Stereolabs docs. ([Stereolabs][11])
* ZED SDK 4.1 download + install instructions: Stereolabs. ([Stereolabs][4])
* Unreal install (Epic Games Launcher): Unreal docs. ([Epic Games Developers][2])
* Visual Studio setup for UE: Epic/VS docs. ([Epic Games Developers][3])
[1]: https://github.com/stereolabs/zed-UE5 "GitHub - stereolabs/zed-UE5: ZED plugin and examples for Unreal Engine 5 (Standard Engine)"
[2]: https://dev.epicgames.com/documentation/en-us/unreal-engine/install-unreal-engine?utm_source=chatgpt.com "Install Unreal Engine | Unreal Engine 5.6 Documentation"
[3]: https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine?utm_source=chatgpt.com "Setting Up Visual Studio"
[4]: https://www.stereolabs.com/developers/release/4.1?utm_source=chatgpt.com "ZED SDK 4.1 - Download"
[5]: https://github.com/stereolabs/zed-sdk?utm_source=chatgpt.com "stereolabs/zed-sdk: ⚡️The spatial perception framework ..."
[6]: https://dev.epicgames.com/documentation/en-us/unreal-engine/managing-game-code-in-unreal-engine?utm_source=chatgpt.com "Managing Game Code in Unreal Engine"
[7]: https://forums.unrealengine.com/t/right-click-on-uproject-file-menu-not-available/483433?utm_source=chatgpt.com "Right click (on uproject-file) menu not available"
[8]: https://dev.epicgames.com/documentation/en-us/unreal-engine/how-to-generate-unreal-engine-project-files-for-your-ide?utm_source=chatgpt.com "How to Generate Unreal Engine Project Files for Your IDE"
[9]: https://forums.unrealengine.com/t/ctrl-f5-in-visual-studio-2022-does-not-launch-unreal-editor-because-project-is-a-library/1819512?utm_source=chatgpt.com "Ctrl F5 in Visual Studio 2022 does not launch Unreal Editor ..."
[10]: https://www.stereolabs.com/docs/development/zed-sdk/windows?utm_source=chatgpt.com "How to Install ZED SDK on Windows"
[11]: https://www.stereolabs.com/docs/ue5?utm_source=chatgpt.com "Getting Started with Unreal Engine and ZED"

Thank you!

BTW, this is what it said last time I tried to do the build:
========== Build: 12 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 8:43 PM and took 01:06.346 minutes ==========

So no issues there.

And like I mentioned, the old project is working so no issues with the SDK, I would think.

No clue what is going on.

I think this is caused by a version missmatch between the plugin and the SDK.

Can you share the exact version of the ZED SDK and the plugin you installed, please?

Hi Benjamin!

I opened the ZED Depth Viewer and it says v5.0.7
And I do believe I use v4.2.0 for the ZED UE version. But no idea how to check.

I can uninstall, and start fresh. Please tell me what versions I should use for all apps because it’s becoming confusing :smiley: I see now here that the last UE version is not put at the top of the list.

So which versions is ideal for the following apps?
-Unreal Engine
-ZED SDK
-ZED UE plugin
-Any other app I should consider a specific version? CUDA maybe?

Thank you so much!

To be sure,
I’d install:

For Cuda, it does not matter, just make sure to install the ZED SDK version compatible with the CUDA version you have installed.

Regarding the UE version, you can use from 5.4 to 5.6.

Thank you, Benjamin!

I will reinstall these asap.

  1. Regarding the ZED SDK v5.1 : https://www.stereolabs.com/en-fr/developers/release
    Just to clarify as the link you gave states v5.1.1

I need to install v5.1 and not v5.1.1. Is that correct?

  1. And regarding Unreal Engine, even though the UE plugin states that it is for UE5.4, I can use it for UE5.6 as well? LE for this: I see you mention there that “This release is compatible with UE5.4 to 5.6.”

Thank you!!

5.1.1 is good. Normally, we recommend installing the version with the higher patch release value, which brings improvements and bug fixes.

1 Like