Unity crashing intermittently when using the Zed SDK

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

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.

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 (4.0 MB)

crash.dmp (3.1 MB)

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 ?

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 (3.0 MB)

Editor.log (6.6 MB)

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

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