# Body Tracking with UE5: Multiple people with their own mesh tracking them

**URL:** <https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946>\
**Category:** Unreal Engine\
**Created:** [September 22, 2025, 6:24am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946 "2025-09-22T06:24:20Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [September 22, 2025, 6:24am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/1 "2025-09-22T06:24:20Z")

</div>

Hi folks!

How can I make it so that each person being tracked to have their own mesh? For example person 1 to have a mesh / 3d model 1 following their moves and person 2 to have a mesh / 3d model 2 following their moves and so on.

And what can I do so that person 1 has always mesh 1 following his/her moves? And the same for person 2

Thank you so much!

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [September 22, 2025, 6:26am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/2 "2025-09-22T06:26:37Z")

</div>

This option is not currently available in our plugin.  
Each detected person has their own ID you can track and assign a specific mesh to.  
The ID only changes when the person is no longer detected and is detected back again.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [September 22, 2025, 7:53am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/3 "2025-09-22T07:53:02Z")

</div>

Hi Benjamin!

Your answer is a bit confusing as you first said that the option is not available and then you told me that the persons are tracked so technically the option might seem available.

May I ask that you clarify what you meant?

Is it possible for 2 people to control 2 different meshes?

BTW, how can I track their ID?

Thank you so much!

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [September 22, 2025, 8:00am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/4 "2025-09-22T08:00:16Z")

</div>

It’s not directly available in the plugin, but there is an easy way of adding it by tracking the detections’ ID. This is something you will have to do on your side.

In the ZED\_BodyTracking\_Visualizer script, you can get the id here :

 ![image](https://community.stereolabs.com/uploads/default/original/2X/e/e306d4025e5774406856085c75920ec38eced63f.png)

We are actually already using this value to know if a mesh needs to be deleted or not (if the person is still detected or not).

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [September 27, 2025, 4:41pm UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/5 "2025-09-27T16:41:58Z")

</div>

I’ve been looking at this BP for days now trying to figure out how it works in order to implement different meshes for 2 persons.

I see that there is a block of nodes called **New Detection : Spawn a new Avatar and update its Skeletal Mesh with Body Tracking Data**. I am guessing that is the part that creates the 2nd (and 3rd and 4th and so on) avatar. But I have no idea how to use it. I can also see that it recalls ABP\_ZED\_Manny so I am guessing it should recall another ABP as that one is dedicated to the first mesh and its child. Am I right?

May I ask that you provide an example with just to players each controlling a different avatar? This is all I need.

Thank you so much!!!

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [September 29, 2025, 7:29am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/6 "2025-09-29T07:29:08Z")

</div>

Hi,

First, you need to setup multiple avatars and add them in your project.  
Then, all you need to modify is the “spawn actor” part to spawn a different actor based on the detection ID.  
The easier way of doing this is changing the “Actor class” variable to an array, where you put all the different avatars you want to use and then, create a rule to choose a different avatar based on the detection ID and you’re good.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [September 30, 2025, 8:07pm UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/7 "2025-09-30T20:07:56Z")

</div>

What do you mean by multiple avatars?

Because as you know, in order to change the avatar from ZED Manny to some other avatar, we need to go through these phases:  
From Skeletal Mesh → IK Rig → Retargeter → Actor Blueprint → BP\_ZED\_Manny (ABP + Skeletal Mesh as child component)

which I did. So when you say that I need to prepare multiple avatars, what do you mean?

BTW, if I am to use another BP\_ZED\_Manny copy, for example if I duplicate BP\_ZED\_Manny to BP\_ZED\_Manny1 and use that as Actor Class, UE crashes.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [September 30, 2025, 8:51pm UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/8 "2025-09-30T20:51:25Z")

</div>

And because UE crashes if I try to use any other BP instead of the BP\_ZED\_Manny, of course it crashes if I try to d othe following. For example I was thinking of making 2 Actor Class variables (Actor Class 0 and Actor Class 1) and put BP\_ZED\_Manny in Actor Class 0 and BP\_ZED\_Mono in Actor Class 1 like you see in the images. But whenever I use something else than BP\_ZED\_Manny, UE crashes.

 ![Screenshot 2025-09-30 235107](https://community.stereolabs.com/uploads/default/original/2X/3/3f57275d8d9831b7a039a7168bb645e6338aa95c.png)  
 ![Screenshot 2025-09-30 234602](https://community.stereolabs.com/uploads/default/original/2X/6/60d0f401c410bf6b19b05cd21b9e4654f479bce8.png)

This is the crash report:`LoginId:53bd200b416b0679fd79858e42b9bd9a  
EpicAccountId:a70eac6a6b1b4df9903c01ab68f07c7c

Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x0000000000000618

UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_ZED!FAnimNode\_ZEDPose::BuildPoseFromSlBodyData() [G:\_Work\_03\_\TriluREELu\zed-UE5-main\Plugins\[Stereolabs](https://www.stereolabs.com/)\Source\ZED\Private\Core\AnimNode\_ZEDPose.cpp:149]  
UnrealEditor\_Engine  
UnrealEditor\_ControlRig  
UnrealEditor\_ControlRig  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Engine  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
UnrealEditor\_Core  
kernel32  
ntdll`

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [October 1, 2025, 6:54am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/9 "2025-10-01T06:54:02Z")

</div>

I meant having multiple actors and selecting one of them, what you did according to your screenshots.

I’ll try to reproduce the crash on my side, and keep this post updated.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [October 1, 2025, 11:11am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/10 "2025-10-01T11:11:27Z")

</div>

Thank you, Benjamin! So did I understand correctly that I would have to use multiple BPs like BP\_ZED\_Manny? Or is this approach not feasible? As you know, there is also an ABP\_ZED\_Manny.

If you want to replicate the crash, just duplicate BP\_ZED\_Manny and you will create a new file named BP\_ZED\_Manny1. Drag and drop this newly created file in BP\_Body\_Tracking\_Visualizer in ZED → Actor Class. The avatar will appear in T-pose and than UE will crash in less than a second.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [October 1, 2025, 4:02pm UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/11 "2025-10-01T16:02:46Z")

</div>

Considering I really don’t know how to use arrays properly, and I only want to have 2 players at the same time (for now), I tried a different approach with the following logic:

- From id, I get the player id which I go through a modulo to only get a 0 for player 1 and a 1 for player 2
- I am using 2 sets of ABP\_ZED\_Manny (ABP\_ZED\_Manny and ABP\_ZED\_Manny2), and 2 sets of BP\_ZED\_Manny (BP\_ZED\_Manny and BP\_ZED\_Manny2)
- Then I duplicate the New Detection : Spawn a new Avatar and update its Skeletal Mesh with Body Tracking Data
- I use a Switch on int node to activate one spawn or the other
- I do the same for the part where the Avatar is already in the scene, and only update its Skeletal Mesh. Meaning depending on 0 or 1 coming from id, I activate one or the other branch that technically should control one or the other avatar.

But of course it does not work 🙂 But at least UE does not crash.  
**Please let me know what I am doing wrong.**

And this is how BP looks like as of now. You can see the BP here: [ZED Body Tracking with UE5: Multiple people with their own mesh tracking them posted by ygreq | blueprintUE | PasteBin For Unreal Engine](https://blueprintue.com/blueprint/z78x58jo/)

Thank you!!!

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [October 6, 2025, 3:55pm UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/12 "2025-10-06T15:55:23Z")

</div>

I can push an update preventing UE to crash but it’s actually **expected** that using a clone of BP\_ZED\_Manny does not work, you need to create a **child actor** instead.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [October 7, 2025, 11:32am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/13 "2025-10-07T11:32:54Z")

</div>

Hi Benjamin! In the end I believe I managed to solve it for now using only 2 players. But 2 players is what I will have so it is ok from this perspective.

I duplicated the following nodes and adapted them a bit:  
If the Avatar controlled by Player ID 0 is already in the scene, only update its Skeletal Mesh  
If the Avatar controlled by Player ID 2 is already in the scene, only update its Skeletal Mesh

and

New Detection : Spawn a new Avatar for Player id 0 and update its Skeletal Mesh with Body Tracking Data  
New Detection : Spawn a new Avatar for Player id 1 and update its Skeletal Mesh with Body Tracking Data

And I am using the same ABP\_ZED\_Manny, but 2 different BP\_ZED\_Manny BPs (BP\_ZED\_Manny and BP\_ZED\_Manny2)

And I am changing the meshes separately from inside of BP\_ZED\_Manny and BP\_ZED\_Manny2 for each of the 2 players. I made a comment on the other post on how I do that for 1 player. See [here.](https://community.stereolabs.com/t/body-tracking-with-ue5-the-easiest-solution-to-switch-the-avatar-in-game/10015/2)

Here is the [blueprint](https://blueprintue.com/blueprint/nklwow7-/)

It would be great if you can do a BP where we can use the array in order to use multiple players without needing to multiply the nodes. DO you think you can do it?

**I don’t know about the rest, but when using a ZED camera inside of UE for Body Tracking, I am pretty sure, people actually need this ability to use different meshes for different players.**

Thank you so much!

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [October 24, 2025, 6:45am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/14 "2025-10-24T06:45:32Z")

</div>

Unfortunately, it is not planned to work on new features for our Unreal (or unity) integrations in the near future.

---

<div class="post-metadata">

**Author:** ![ygreq](https://community.stereolabs.com/user_avatar/community.stereolabs.com/ygreq/32/5041_2.png) [@ygreq](https://community.stereolabs.com/u/ygreq)\
**Post date:** [October 24, 2025, 10:52am UTC](https://community.stereolabs.com/t/body-tracking-with-ue5-multiple-people-with-their-own-mesh-tracking-them/9946/15 "2025-10-24T10:52:43Z")

</div>

Hi Benjamin!

Unfortunately I have an error with the first character out of the 2. Sometimes the first character does not switch and sometimes it does. No idea why 😕

If you can give me some pointers on how I can achieve this without any issues, that would be great.

Thank you!
