# Unity crashing intermittently when using the Zed SDK

**URL:** <https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018>\
**Category:** Unity\
**Created:** [March 13, 2026, 11:56am UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018 "2026-03-13T11:56:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rosss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/rosss/32/4388_2.png) [@Rosss](https://community.stereolabs.com/u/Rosss)\
**Post date:** [March 13, 2026, 11:56am UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/1 "2026-03-13T11:56:32Z")

</div>

I notice there have been a couple of Unity - crash posts before but i didn’t see any resolution there and I’m not sure if this is the same thing.  
The behaviour we have been seeing (this has been present since 5.01 and we’re still seeing it in 5.02) is that anytime we have a Zed cam active in the project - active in the current scene and occasionally being turned on and used (in Play mode) - then we get editor crashes. The editor probably crashes two or three times per day - ,maybe more if we’re using Zed a lot. We’ve been working on this project for the last six months or so without the Zeds - so the Zed part of the project in the scene just turned off and haven’t seen any crashes at all. We’ve just turned it back on and now we’re getting the crashes again. It seems very clear to us that it’s a Zed thing.  
We’re currently on Unity 2022.3.62f3 -  
Just wondering if this is something you’ve had reports of before and managed to resolve in some way? -  
We’ve noticed this across all of our PC - so various high spec PCs and laptops. The crash usually happens when you are dragging and dropping something in the editor - so dropping a prefab link into a component or something like that (not in play mode) - but as I say only ever happens if Zed is / has been active.

Thanks,  
Ross

---

<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:** [April 15, 2026, 7:54am UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/2 "2026-04-15T07:54:24Z")

</div>

Hi,

Sorry for the delay.

Unfortunately, I did not encounter the issue on my side.

Does it generate any crash logs you can share by any chance? It would help me understand what’s going on.

Thanks.

---

<div class="post-metadata">

**Author:** ![Rosss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/rosss/32/4388_2.png) [@Rosss](https://community.stereolabs.com/u/Rosss)\
**Post date:** [April 16, 2026, 3:46pm UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/3 "2026-04-16T15:46:56Z")

</div>

Hi Benjamin -  
no worries -  
we see this across all our devices - possibly I guess it’s an interaction with another plugin or something in the project.  
Here’s a crash dump and editor log from a crash which just happened -

[Editor.log](https://community.stereolabs.com/uploads/short-url/cebDQNfVGzumtQnfzmOXFRIlyJ3.log) (4.0 MB)

[crash.dmp](https://community.stereolabs.com/uploads/short-url/fRx5QrOq1NQEigwZRuy2KxeOecT.dmp) (3.1 MB)

---

<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:** [April 16, 2026, 4:27pm UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/4 "2026-04-16T16:27:21Z")

</div>

I quickly looked at the crash log and it indeed seems to crash during a “drag and drop”. There are also others errors but I don’t know if this is related to the crash or not.

Does it always happen with the same prefab or not necessarily ?

---

<div class="post-metadata">

**Author:** ![Rosss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/rosss/32/4388_2.png) [@Rosss](https://community.stereolabs.com/u/Rosss)\
**Post date:** [April 17, 2026, 11:22am UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/5 "2026-04-17T11:22:00Z")

</div>

Hi Benjamin -  
no not with the same prefab it seems like it can be anywhere in the project - but it is usually during a drag and drop -  
i presume this is some kind of memory leak build up or something?  
I just had another one this morning - uploading the log here -  
While it does usually happen at a drag and drop moment - it only ever happens if the ZedManager object is and has been active in the project. If i deactivate that object in the hierarchy - then there are no crashes.  
Thanks  
Ross

[crash.dmp](https://community.stereolabs.com/uploads/short-url/xfX2nXzhit9J1QWr5DfbkPFNFJ4.dmp) (3.0 MB)

[Editor.log](https://community.stereolabs.com/uploads/short-url/i5FY9MqIBwe2CK7dWfVR63ixP8f.log) (6.6 MB)

---

<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:** [April 20, 2026, 6:57am UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/6 "2026-04-20T06:57:29Z")

</div>

I see you are using a quite old Unity version. Is it possible for you to test with a more recent one?

---

<div class="post-metadata">

**Author:** ![Rosss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/rosss/32/4388_2.png) [@Rosss](https://community.stereolabs.com/u/Rosss)\
**Post date:** [April 23, 2026, 2:23pm UTC](https://community.stereolabs.com/t/unity-crashing-intermittently-when-using-the-zed-sdk/11018/7 "2026-04-23T14:23:30Z")

</div>

Thanks.. we’ll have to give that a go then when we’re able to update…
