ZED plugin for Unreal Engine 5.4 Support

Hi,

I bought a ZED 2i camera. I was trying to use the zed-UE5 plugin in my project running in Unreal Engine 5.4. The project build successfully with missing modules and when I tried to open the project, there is missing module errors.

May I know when is there a ZEDSample project for Unreal Engine 5.4? Or is there any way to get around this problem so I can continue with Unreal Engine 5.4?

Please advise, thanks.

Hi @KenTYLeung , welcome to the forums!

We need to make some changes to the code and settings before it’s compatible. This is planned and will be done soon.
The only way to get around this on your side while still using the 5.4 now would be to try and get the plugin to build by following the error messages in the Build output (the “Output” tab is a lot more informative than the "Error List’ tab in my experience).

In any case, we will be working on this soon, sorry for the delay.

okay, thanks for your reply, @JPlou

Hi @KenTYLeung

I updated the project for 5.4 on this branch: GitHub - stereolabs/zed-UE5 at unreal_5.4

You can try it out or apply the fixes on your branch.
Please don’t hesitate to share feedback or questions here.

Thanks a lot for your quick response and help. Really appreciate it.

We have tried your branch and found below issues. Can you please help us with this?
Below were what we did

  1. Project runs fine on 5.4 now.

  2. The levels can be played on the editor.

  3. When we try to package the project the following errors print out and the build fails.

  4. There seems to be a circular dependency, but after investigating the includes on the files in the error and the StereoLabsRunnable.h, they lead to other dependencies instead of each other.

Thank you very much for your help once again.

Thank you for the feedback, I couldn’t take the time to look yesterday, I’ll be sure to do so as soon as possible and get back to you. :pray:

I don’t have issues packaging a Body Tracking scene on my side, nor with running the packaged app afterward, so maybe it’s “cache” issues with Unreal.

Can you try deleting Intermediate and Binaries files, and rebuilding the solution?
Which binary configuration were you using? Shipping of development?

Sharing the full log may help if that doesn’t work, please attach it.

Thanks a lot for your help, Jean-Loup

We will try and report here, thank you

Best Regards,
Ken

Hi Jean-Loup

We have tested again with cache cleared, still having issues building it.
Can you please help taking a look? Attached is the full log.

Errors from:
StereolabsAIDetectionRunnable.h(20)
StereolabsMeasureRunnable.h(105)

Thanks in advance

Best Regards,
Ken

Thanks a lot for your help, Jean-Loup

We will try and report here, thank you

Best Regards,
Ken

Thanks for the logs, unfortunately, I couldn’t get much out of it. The files with errors don’t show up with errors here.

  • Does Visual Studio tell you they have errors in them if you navigate to the files themselves?

  • Do you have other plugins in the project?

  • Can you try cloning and packaging the “raw” ZED UE5 project, without modifications, to see if it builds correctly?

If the raw project does build, you can check in the *.Target.cs, *Editor.target.cs and bother *.Build.cs files you’ll find in the Source/ folder if something’s different than in the raw project. You can share them here and I’ll take a look if you want.

What’s strange for me is that you can play the project in the editor if there are somehow issues with these classes.

  • Can you confirm that the Body Tracking and Object Detection levels work correctly in the project that can’t be packaged?

Thanks for the prompt reply, @JPlou . We will try to test and get back to you asap.

1 Like

Hi @JPlou , we finally able to successfully packaged a project. Not sure what exactly made that happen, probably broken map somewhere.

Thank you for your help and the support. Appreciated it.

1 Like