# C#

**URL:** https://community.stereolabs.com/c/sw/csharp/9.md

[Latest](https://community.stereolabs.com/latest.md) · [Categories](https://community.stereolabs.com/categories.md) · [Tags](https://community.stereolabs.com/tags.md)

---

## [About the C# category](https://community.stereolabs.com/t/about-the-c-category/36)

<div class="topic-metadata">

**Author:** [@adujardin](https://community.stereolabs.com/u/adujardin)\
**Replies:** 0

</div>

---

## [Possible SDK bug in 5.2.1](https://community.stereolabs.com/t/possible-sdk-bug-in-5-2-1/10948)

<div class="topic-metadata">

**Author:** [@Sebtous](https://community.stereolabs.com/u/Sebtous)\
**Replies:** 1\
**Last updated:** [March 4, 2026, 9:25am UTC](https://community.stereolabs.com/t/possible-sdk-bug-in-5-2-1/10948 "2026-03-04T09:25:40Z")

</div>

When using the SDK 5.2.1 in combination with the .NET/c# bindings the following command now returns an sl.ERROR\_CODE.INVALID\_FUNCTION\_PARAMETERS error code where it would work fine with SDK 5.1: s.Camera.RetrieveImage (…

---

## [Depth image artifacts](https://community.stereolabs.com/t/depth-image-artifacts/10588)

<div class="topic-metadata">

**Author:** [@Tomas](https://community.stereolabs.com/u/Tomas)\
**Replies:** 6\
**Last updated:** [January 19, 2026, 9:32pm UTC](https://community.stereolabs.com/t/depth-image-artifacts/10588 "2026-01-19T21:32:19Z")

</div>

Hello, I’ve created a test app in C# where I want to filter out everything but person’s silhouette (using distance threshold). However the depth image contains artifacts as shown on the picture below - parts of the back…

---

## [C# Out of Memory](https://community.stereolabs.com/t/c-out-of-memory/9973)

<div class="topic-metadata">

**Author:** [@YasuyukiNasu](https://community.stereolabs.com/u/YasuyukiNasu)\
**Replies:** 3\
**Last updated:** [September 25, 2025, 6:24am UTC](https://community.stereolabs.com/t/c-out-of-memory/9973 "2025-09-25T06:24:19Z")

</div>

Problem Out of memory The program is stalled after a few minutes due to out of memory. The system has 16GB of memory, but as soon as the program starts, it consumes over 15GB of memory. The memory usage fluctuates …

---

## [I can’t perform the recovery procedure](https://community.stereolabs.com/t/i-can-t-perform-the-recovery-procedure/9918)

<div class="topic-metadata">

**Author:** [@Ciprian](https://community.stereolabs.com/u/Ciprian)\
**Replies:** 5\
**Last updated:** [September 18, 2025, 4:05pm UTC](https://community.stereolabs.com/t/i-can-t-perform-the-recovery-procedure/9918 "2025-09-18T16:05:05Z")

</div>

"I have a ZedBox Orin NX 16GB and I can’t complete the recovery procedure even though I follow the steps in the guide; at the end I get ‘flash failed’. What should I do

---

## [Positional Tracking - INERTIAL](https://community.stereolabs.com/t/positional-tracking-inertial/9431)

<div class="topic-metadata">

**Author:** [@dhutchinson](https://community.stereolabs.com/u/dhutchinson)\
**Replies:** 1\
**Last updated:** [July 17, 2025, 2:03pm UTC](https://community.stereolabs.com/t/positional-tracking-inertial/9431 "2025-07-17T14:03:29Z")

</div>

SDK 5.0.2 have tested with Positional Tracking GEN1, GEN2 and GEN3 ZEDX camera with SVO recording. Camera and Jetson mounted to Vehicle We noticed during testing that if the camera goes into a dark room for maybe 10 …

---

## [User Perspektive Magic Lense Display](https://community.stereolabs.com/t/user-perspektive-magic-lense-display/8621)

<div class="topic-metadata">

**Author:** [@Dolokan2](https://community.stereolabs.com/u/Dolokan2)\
**Replies:** 10\
**Last updated:** [April 23, 2025, 9:13am UTC](https://community.stereolabs.com/t/user-perspektive-magic-lense-display/8621 "2025-04-23T09:13:50Z")

</div>

Hello! I ran into a weird tracking Problem using the body Tracking Module of the zed SDK. First of all: The Idea is to track a persons face in front of a monitor, and use that tracking data to control a camera in unity. …

---

## [System.AccessViolationException](https://community.stereolabs.com/t/system-accessviolationexception/8564)

<div class="topic-metadata">

**Author:** [@zhangle1987](https://community.stereolabs.com/u/zhangle1987)\
**Replies:** 3\
**Last updated:** [April 17, 2025, 11:13am UTC](https://community.stereolabs.com/t/system-accessviolationexception/8564 "2025-04-17T11:13:47Z")

</div>

I implemented the simplest screen capture functionality in C#, but I encountered a System.AccessViolationException error. System: Windows 11 zed sdk:5.0 cuda 12.8 .net: .net 8.0 Can you help me? static void Main()…

---

## [Documentation of Zed SDK in Unity is just confusing / How can i make a User Perspective Magic Lense Display](https://community.stereolabs.com/t/documentation-of-zed-sdk-in-unity-is-just-confusing-how-can-i-make-a-user-perspective-magic-lense-display/8599)

<div class="topic-metadata">

**Author:** [@Dolokan2](https://community.stereolabs.com/u/Dolokan2)\
**Replies:** 1\
**Last updated:** [April 15, 2025, 9:30am UTC](https://community.stereolabs.com/t/documentation-of-zed-sdk-in-unity-is-just-confusing-how-can-i-make-a-user-perspective-magic-lense-display/8599 "2025-04-15T09:30:51Z")

</div>

Hello! Im a student and since the start of this year i try to make a Magic Lense Display using your SDK. I use Unity and dont understand one thing of your documentation. I read about functions i can use and stuff like th…

---

## [Issues in Camera Orientation, Character Movement, Height and Getting Height and Width in Body Tracking in Unity](https://community.stereolabs.com/t/issues-in-camera-orientation-character-movement-height-and-getting-height-and-width-in-body-tracking-in-unity/7099)

<div class="topic-metadata">

**Author:** [@rohit.vaviya](https://community.stereolabs.com/u/rohit.vaviya)\
**Replies:** 4\
**Last updated:** [October 1, 2024, 12:32pm UTC](https://community.stereolabs.com/t/issues-in-camera-orientation-character-movement-height-and-getting-height-and-width-in-body-tracking-in-unity/7099 "2024-10-01T12:32:25Z")

</div>

Hello, I’m encountering a few issues with body tracking in Unity that I hope you can help me with: Camera Orientation: I need assistance in setting the ZED camera from horizontal to vertical rendering. How can I achie…

---

## [Unity Point cloud,](https://community.stereolabs.com/t/unity-point-cloud/1775)

<div class="topic-metadata">

**Author:** [@wJohnston](https://community.stereolabs.com/u/wJohnston)\
**Replies:** 3\
**Last updated:** [September 27, 2024, 1:55pm UTC](https://community.stereolabs.com/t/unity-point-cloud/1775 "2024-09-27T13:55:55Z")

</div>

I have been using the point cloud renderer and the point cloud appears in the scene view and scene camera preview but not in any cameras in the game view. I have seen it work in the past but it seems like this might be s…

---

## [Assistance Needed with Shoulder Alignment Issue in ZED Camera Model in Unity](https://community.stereolabs.com/t/assistance-needed-with-shoulder-alignment-issue-in-zed-camera-model-in-unity/7100)

<div class="topic-metadata">

**Author:** [@rohit.vaviya](https://community.stereolabs.com/u/rohit.vaviya)\
**Replies:** 0\
**Last updated:** [September 23, 2024, 8:30am UTC](https://community.stereolabs.com/t/assistance-needed-with-shoulder-alignment-issue-in-zed-camera-model-in-unity/7100 "2024-09-23T08:30:35Z")

</div>

Hello I am currently using the ZED camera for body tracking in Unity, and I have encountered an issue with the 3D model’s shoulder alignment. Specifically, the model’s shoulders appear raised or misaligned compared to t…

---

## [Trying to understand FusionConfiguration](https://community.stereolabs.com/t/trying-to-understand-fusionconfiguration/4971)

<div class="topic-metadata">

**Author:** [@VR\_Neo](https://community.stereolabs.com/u/VR_Neo)\
**Replies:** 12\
**Last updated:** [September 11, 2024, 3:32pm UTC](https://community.stereolabs.com/t/trying-to-understand-fusionconfiguration/4971 "2024-09-11T15:32:17Z")

</div>

Hello! I am trying to understand data contained in FusionConfiguration that is created from the ReadConfigurationFile method. My setup is two cameras ZED2 calibrated with ZED360 app with the 4.1 SDK. When I check data …

---

## [C# Nuget Package Target .NET 8 / .NET Standard 2.1](https://community.stereolabs.com/t/c-nuget-package-target-net-8-net-standard-2-1/6622)

<div class="topic-metadata">

**Author:** [@davidhutchy](https://community.stereolabs.com/u/davidhutchy)\
**Replies:** 1\
**Last updated:** [July 23, 2024, 9:14am UTC](https://community.stereolabs.com/t/c-nuget-package-target-net-8-net-standard-2-1/6622 "2024-07-23T09:14:06Z")

</div>

Is it possible to get the Nuget package published targeting .Net standard 2.1 or .net 8? This will mean people wont need to manually run CMAKE and compile the dll themselves. you could then simply include the Nuget refer…

---

## [How to handle segmentation mask with OpenCVSharp?](https://community.stereolabs.com/t/how-to-handle-segmentation-mask-with-opencvsharp/4446)

<div class="topic-metadata">

**Author:** [@VR\_Neo](https://community.stereolabs.com/u/VR_Neo)\
**Replies:** 10\
**Last updated:** [July 19, 2024, 8:12am UTC](https://community.stereolabs.com/t/how-to-handle-segmentation-mask-with-opencvsharp/4446 "2024-07-19T08:12:59Z")

</div>

Hello, I am looking for the appropriate way to handle the body tracking segmentation mask received from BodyData.mask. I am trying to get an image that only shows the first detected body, based on the segmentation mask…

---

## [Zed activation on load stuck my game unity](https://community.stereolabs.com/t/zed-activation-on-load-stuck-my-game-unity/1424)

<div class="topic-metadata">

**Author:** [@darkladen](https://community.stereolabs.com/u/darkladen)\
**Replies:** 3\
**Last updated:** [March 27, 2024, 8:11am UTC](https://community.stereolabs.com/t/zed-activation-on-load-stuck-my-game-unity/1424 "2024-03-27T08:11:19Z")

</div>

Hello guys, i have developed a interactive game (interactive floor) where I use the Zed 2 and my “problem”(a bit uncomfortable) is the slow recognition(activation) of the Zed 2 hardware. When my game try to use the Zed 2…

---

## [Retrieving depth or point cloud frames undistorted](https://community.stereolabs.com/t/retrieving-depth-or-point-cloud-frames-undistorted/4819)

<div class="topic-metadata">

**Author:** [@tabulatouch](https://community.stereolabs.com/u/tabulatouch)\
**Replies:** 1\
**Last updated:** [March 25, 2024, 10:41am UTC](https://community.stereolabs.com/t/retrieving-depth-or-point-cloud-frames-undistorted/4819 "2024-03-25T10:41:12Z")

</div>

Hello, We are evaluating the ZED cameras to detect when a user hand interacts with a volume. We need the wide filed of view, so the original image will have a lot of distortion. Can the depth image (DEPTH or DEPTH\_U16…

---

## [Exception using GetDeviceList method](https://community.stereolabs.com/t/exception-using-getdevicelist-method/4572)

<div class="topic-metadata">

**Author:** [@VR\_Neo](https://community.stereolabs.com/u/VR_Neo)\
**Replies:** 1\
**Last updated:** [February 16, 2024, 10:02am UTC](https://community.stereolabs.com/t/exception-using-getdevicelist-method/4572 "2024-02-16T10:02:18Z")

</div>

Hello, I am trying to get the device list in C# with 4.0.7 version of ZED SDK using this code: var deviceList = Camera.GetDeviceList(out int nbDevices); Unfortunatly, I get this error, which seems to come from dll it…

---

## [Unity livelink Avatar Joint coordinate issue](https://community.stereolabs.com/t/unity-livelink-avatar-joint-coordinate-issue/4537)

<div class="topic-metadata">

**Author:** [@NazarSmyl](https://community.stereolabs.com/u/NazarSmyl)\
**Replies:** 4\
**Last updated:** [February 13, 2024, 9:13am UTC](https://community.stereolabs.com/t/unity-livelink-avatar-joint-coordinate-issue/4537 "2024-02-13T09:13:53Z")

</div>

Hi, i’m getting the joint coordinates from worldJointsPos in the ZEDBodyTrackingManager script and drawing a line with lineRenderer from there. The issue is that the lines don’t actually start from the exact joint positi…

---

## [Unity livelink Avatar's Joint angles](https://community.stereolabs.com/t/unity-livelink-avatars-joint-angles/4520)

<div class="topic-metadata">

**Author:** [@NazarSmyl](https://community.stereolabs.com/u/NazarSmyl)\
**Replies:** 3\
**Last updated:** [February 8, 2024, 11:16am UTC](https://community.stereolabs.com/t/unity-livelink-avatars-joint-angles/4520 "2024-02-08T11:16:39Z")

</div>

Hi, i’m getting the Quaternion data for each joint in the ZEDBodyTrackingManager script and turning it into euler angles. the problem is that the angles are unrealistic. Here’s an example You can see that the angles …

---

## [Improve Body Tracking Accuracy](https://community.stereolabs.com/t/improve-body-tracking-accuracy/4298)

<div class="topic-metadata">

**Author:** [@iamdickyjai](https://community.stereolabs.com/u/iamdickyjai)\
**Replies:** 8\
**Last updated:** [January 15, 2024, 3:59pm UTC](https://community.stereolabs.com/t/improve-body-tracking-accuracy/4298 "2024-01-15T15:59:58Z")

</div>

Description I am using the Body Tracking module to track the movement of a single person. The camera is mounted on a video wall that has the height of 3m, and the tracking person is standing 1-2m away from the wall, Whe…

---

## [Showing unity avatar angles on the avatar in real time](https://community.stereolabs.com/t/showing-unity-avatar-angles-on-the-avatar-in-real-time/4114)

<div class="topic-metadata">

**Author:** [@NazarSmyl](https://community.stereolabs.com/u/NazarSmyl)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 8:19am UTC](https://community.stereolabs.com/t/showing-unity-avatar-angles-on-the-avatar-in-real-time/4114 "2023-12-11T08:19:34Z")

</div>

Hi, my goal is to show the angles of a unity avatars joints on its body. the avatar gets generated using multiple cameras via Livelink. Which part of the code is responsible for the angle data? I’m pretty sure that there…

---

## [Can I run the C# body tracking system without exe?](https://community.stereolabs.com/t/can-i-run-the-c-body-tracking-system-without-exe/4062)

<div class="topic-metadata">

**Author:** [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Replies:** 3\
**Last updated:** [November 30, 2023, 10:11am UTC](https://community.stereolabs.com/t/can-i-run-the-c-body-tracking-system-without-exe/4062 "2023-11-30T10:11:11Z")

</div>

The exe file is currently working without any problems. The way I run it is as follows: I have a different windows form with C#, and I can run the exe file with the parameters I want with a button in this form. But what …

---

## [Is there a performance and capability difference between C# programs and Python programs?](https://community.stereolabs.com/t/is-there-a-performance-and-capability-difference-between-c-programs-and-python-programs/4053)

<div class="topic-metadata">

**Author:** [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Replies:** 1\
**Last updated:** [November 27, 2023, 2:27pm UTC](https://community.stereolabs.com/t/is-there-a-performance-and-capability-difference-between-c-programs-and-python-programs/4053 "2023-11-27T14:27:59Z")

</div>

Hello, I was using python modules for bodytracking before. However, we thought it was more logical and necessary to use C# for other areas of the project. Is there any performance or capability difference between C# and …

---

## [I can't open the C# project](https://community.stereolabs.com/t/i-cant-open-the-c-project/4038)

<div class="topic-metadata">

**Author:** [@emrekocdemir](https://community.stereolabs.com/u/emrekocdemir)\
**Replies:** 1\
**Last updated:** [November 27, 2023, 11:21am UTC](https://community.stereolabs.com/t/i-cant-open-the-c-project/4038 "2023-11-27T11:21:38Z")

</div>

I am trying to open a C# project, but when I run it after completing all the steps, it closes after a very short time without anything appearing on the screen. I’m trying to open the hellozed c# sample in the documentati…

---

## [How to get the keypoint 2D and 3D of persons, to spawn an object on that keypoint?](https://community.stereolabs.com/t/how-to-get-the-keypoint-2d-and-3d-of-persons-to-spawn-an-object-on-that-keypoint/3531)

<div class="topic-metadata">

**Author:** [@Rachael](https://community.stereolabs.com/u/Rachael)\
**Replies:** 21\
**Last updated:** [September 26, 2023, 1:06pm UTC](https://community.stereolabs.com/t/how-to-get-the-keypoint-2d-and-3d-of-persons-to-spawn-an-object-on-that-keypoint/3531 "2023-09-26T13:06:32Z")

</div>

how to get the keypoint 2D and 3D of persons, to spawn an object on that keypoint?

---

## [Nuget Package to net6.0 or higher](https://community.stereolabs.com/t/nuget-package-to-net6-0-or-higher/3799)

<div class="topic-metadata">

**Author:** [@Ken](https://community.stereolabs.com/u/Ken)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 9:22am UTC](https://community.stereolabs.com/t/nuget-package-to-net6-0-or-higher/3799 "2023-10-26T09:22:39Z")

</div>

Hi, i am currently testing the ZED2i for my company for some use cases. I was implementing the C# wrapper by using the .dlls directly from the nuget-package but using the package via the manager as a straight dependenc…

---

## [Editing bounding box visualiser in Unity](https://community.stereolabs.com/t/editing-bounding-box-visualiser-in-unity/3631)

<div class="topic-metadata">

**Author:** [@a11s](https://community.stereolabs.com/u/a11s)\
**Replies:** 1\
**Last updated:** [October 4, 2023, 8:36am UTC](https://community.stereolabs.com/t/editing-bounding-box-visualiser-in-unity/3631 "2023-10-04T08:36:25Z")

</div>

What lines of code in the scripts in the Unity plugin can I use to change the design of the bounding boxes and accompanying text boxes? For example, I’d like to turn on/off the bounding box but keep the text box with di…

---

## [C# SDK used on Linux/Mono](https://community.stereolabs.com/t/c-sdk-used-on-linux-mono/3623)

<div class="topic-metadata">

**Author:** [@mormal](https://community.stereolabs.com/u/mormal)\
**Replies:** 2\
**Last updated:** [October 3, 2023, 8:34pm UTC](https://community.stereolabs.com/t/c-sdk-used-on-linux-mono/3623 "2023-10-03T20:34:29Z")

</div>

Hi guys, Is there a way to bind the C# SDK to the .so files on Linux, to be able to use the C# SDK on mono ? Goal being to develop under windows and have a cross-platform approach for our project. Thanks for your help…

---

## [Query around ZED Rig Mono](https://community.stereolabs.com/t/query-around-zed-rig-mono/3529)

<div class="topic-metadata">

**Author:** [@Rachael](https://community.stereolabs.com/u/Rachael)\
**Replies:** 1\
**Last updated:** [September 20, 2023, 11:05am UTC](https://community.stereolabs.com/t/query-around-zed-rig-mono/3529 "2023-09-20T11:05:08Z")

</div>

Hi there, I’m trying to render an object on a 3D image of the user. I dont want to use an invisible avatar, just the nodes on the body type. I’ve been able to grab an instance of the framework and grab the node proper…

[Next page](https://community.stereolabs.com/c/sw/csharp/9.md?page=1)
