Hello,
I was using Zed cam 2 and Zed mini in a Unity Project (Unity 2022.3.60), and it work OK (ZED SDK v4.0.7).
But now I want to update my project with new Unity version (6000.4.3f1) and recent ZED SDK (CUDA v13.2.51+ SDK 5.3.0).
So I try by creating a new Empty project (in URP) and I added the ZED package from Github.
Just after the package installation Unity crashed, and now my project can’t be opened (it crash at startup).
Note: ZED Diagnostic is All OK, and ZED Depth viewer work great.
I really need to switch to Unity 6 in URP rendering.
Can someone help me and have a bypass for this crash ?
Thank you for the report. There are two issues at play here that are very likely causing the crash:
1. SDK version mismatch
You mention using ZED SDK v5.3.0, but the latest ZED Unity plugin release is v5.2.1, which supports up to SDK v5.2. The Unity plugin performs a version check at import/startup, and a major mismatch with the native libraries can cause a hard crash before the editor even finishes loading. Please downgrade to ZED SDK v5.2 to match the plugin, or wait for a plugin update supporting SDK 5.3.
2. Unity 6 compatibility
The ZED Unity plugin has not been officially validated against Unity 6 (6000.x). The plugin relies on native DLLs loaded at editor startup, and Unity 6 introduced changes in the native plugin loading pipeline and in the rendering backend initialization (especially for URP) that can trigger crashes if a plugin performs certain operations during domain reload or assembly import. This is a known class of issues with native plugins in Unity 6.
Workaround to recover your project:
Since the project now crashes on startup, Unity is likely trying to reimport/recompile the ZED package on load. You can try:
Close Unity completely.
Navigate to your project folder and delete the Library folder (this forces a clean reimport).
Remove the ZED package reference from Packages/manifest.json — find the line referencing the ZED git URL and delete it.
Reopen the project in Unity 6 — it should now open without the crash.
Once stable, re-add the plugin using a compatible SDK version (v5.2 + plugin v5.2.1).
If the crash persists even after removing the package from the manifest, also delete the Packages/packages-lock.json file and check that no ZED-related folders remain under Packages/ or cached in Library/PackageCache/.
Going forward, we are aware that Unity 6 support needs attention and are investigating the compatibility. Could you share the Unity Editor crash log (Editor.log from just before the crash)? It’s usually located at:
Windows: %LOCALAPPDATA%\Unity\Editor\Editor.log
macOS: ~/Library/Logs/Unity/Editor.log
This would help us identify the exact point of failure (native DLL load, shader compilation, assembly import, etc.).
We’ll update this thread as soon as we have more information on official Unity 6 support.
*** Tundra build success (0.25 seconds), 1 items updated, 1090 evaluated
AssetDatabase: script compilation time: 0.680020s
Begin MonoManager ReloadAssembly
Assembly Assembly-CSharp-Editor-firstpass.dll at Library/ScriptAssemblies/Assembly-CSharp-Editor-firstpass.dll not valid. Loading of assembly skipped.
Assembly Assembly-CSharp-Editor.dll at Library/ScriptAssemblies/Assembly-CSharp-Editor.dll not valid. Loading of assembly skipped.
Assembly Assembly-CSharp-firstpass.dll at Library/ScriptAssemblies/Assembly-CSharp-firstpass.dll not valid. Loading of assembly skipped.
Assembly Assembly-CSharp.dll at Library/ScriptAssemblies/Assembly-CSharp.dll not valid. Loading of assembly skipped.
Assembly DocCodeExamples.dll at Library/ScriptAssemblies/DocCodeExamples.dll not valid. Loading of assembly skipped.
Assembly TestNewCustomAssembly.dll at Library/ScriptAssemblies/TestNewCustomAssembly.dll not valid. Loading of assembly skipped.
Assembly Unity.Collections.BurstCompatibilityGen.dll at Library/ScriptAssemblies/Unity.Collections.BurstCompatibilityGen.dll not valid. Loading of assembly skipped.
Assembly Unity.Collections.DocCodeSamples.dll at Library/ScriptAssemblies/Unity.Collections.DocCodeSamples.dll not valid. Loading of assembly skipped.
Assembly Unity.Collections.PerformanceTests.dll at Library/ScriptAssemblies/Unity.Collections.PerformanceTests.dll not valid. Loading of assembly skipped.
Assembly Unity.Collections.Tests.dll at Library/ScriptAssemblies/Unity.Collections.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.Collections.Tests.Playmode.dll at Library/ScriptAssemblies/Unity.Collections.Tests.Playmode.dll not valid. Loading of assembly skipped.
Assembly Unity.InputSystem.IntegrationTests.dll at Library/ScriptAssemblies/Unity.InputSystem.IntegrationTests.dll not valid. Loading of assembly skipped.
Assembly Unity.Mathematics.Tests.dll at Library/ScriptAssemblies/Unity.Mathematics.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.Multiplayer.Center.Editor.Tests.dll at Library/ScriptAssemblies/Unity.Multiplayer.Center.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.Multiplayer.Center.Tests.dll at Library/ScriptAssemblies/Unity.Multiplayer.Center.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.Nuget.Mono-Cecil.dll at Library/ScriptAssemblies/Unity.Nuget.Mono-Cecil.dll not valid. Loading of assembly skipped.
Assembly Unity.PathTracing.Editor.Tests.dll at Library/ScriptAssemblies/Unity.PathTracing.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.PathTracing.Runtime.Tests.dll at Library/ScriptAssemblies/Unity.PathTracing.Runtime.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.RenderPipelines.Core.Editor.Tests.dll at Library/ScriptAssemblies/Unity.RenderPipelines.Core.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.RenderPipelines.Core.Runtime.Tests.dll at Library/ScriptAssemblies/Unity.RenderPipelines.Core.Runtime.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.RenderPipelines.Universal.Config.Editor.Tests.dll at Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Config.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.RenderPipelines.Universal.Editor.Tests.dll at Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.RenderPipelines.Universal.Runtime.Tests.dll at Library/ScriptAssemblies/Unity.RenderPipelines.Universal.Runtime.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.Searcher.EditorTests.dll at Library/ScriptAssemblies/Unity.Searcher.EditorTests.dll not valid. Loading of assembly skipped.
Assembly Unity.ShaderGraph.Editor.Tests.dll at Library/ScriptAssemblies/Unity.ShaderGraph.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.TextMeshPro.Editor.Tests.dll at Library/ScriptAssemblies/Unity.TextMeshPro.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.TextMeshPro.Tests.dll at Library/ScriptAssemblies/Unity.TextMeshPro.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.UnifiedRayTracing.Editor.Tests.dll at Library/ScriptAssemblies/Unity.UnifiedRayTracing.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.CoreUtils.CodeSamples.Tests.dll at Library/ScriptAssemblies/Unity.XR.CoreUtils.CodeSamples.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.CoreUtils.Editor.Tests.dll at Library/ScriptAssemblies/Unity.XR.CoreUtils.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.CoreUtils.Tests.dll at Library/ScriptAssemblies/Unity.XR.CoreUtils.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.Management.EditorTests.dll at Library/ScriptAssemblies/Unity.XR.Management.EditorTests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.Management.TestPackage.dll at Library/ScriptAssemblies/Unity.XR.Management.TestPackage.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.Management.TestPackage.Editor.dll at Library/ScriptAssemblies/Unity.XR.Management.TestPackage.Editor.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.Management.Tests.dll at Library/ScriptAssemblies/Unity.XR.Management.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.Management.Tests.Standalone.dll at Library/ScriptAssemblies/Unity.XR.Management.Tests.Standalone.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.OpenXR.Editor.Tests.dll at Library/ScriptAssemblies/Unity.XR.OpenXR.Editor.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.OpenXR.Tests.dll at Library/ScriptAssemblies/Unity.XR.OpenXR.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.OpenXR.Ubuntu.Tests.dll at Library/ScriptAssemblies/Unity.XR.OpenXR.Ubuntu.Tests.dll not valid. Loading of assembly skipped.
Assembly Unity.XR.TestSupport.dll at Library/ScriptAssemblies/Unity.XR.TestSupport.dll not valid. Loading of assembly skipped.
Assembly UnityEditor.UI.Common.Tests.dll at Library/ScriptAssemblies/UnityEditor.UI.Common.Tests.dll not valid. Loading of assembly skipped.
Assembly UnityEditor.UI.EditorTests.dll at Library/ScriptAssemblies/UnityEditor.UI.EditorTests.dll not valid. Loading of assembly skipped.
Assembly UnityEditor.XR.LegacyInputHelpers.Tests.dll at Library/ScriptAssemblies/UnityEditor.XR.LegacyInputHelpers.Tests.dll not valid. Loading of assembly skipped.
Assembly UnityEngine.SpatialTracking.Tests.dll at Library/ScriptAssemblies/UnityEngine.SpatialTracking.Tests.dll not valid. Loading of assembly skipped.
Assembly UnityEngine.UI.Tests.dll at Library/ScriptAssemblies/UnityEngine.UI.Tests.dll not valid. Loading of assembly skipped.
Assembly UnityEngine.XR.OpenXR.CodeSamples.Editor.Tests.dll at Library/ScriptAssemblies/UnityEngine.XR.OpenXR.CodeSamples.Editor.Tests.dll not valid. Loading of assembly skipped.
Refreshing native plugins compatible for Editor in 4.59 ms, found 11 plugins.
Native extension for WindowsStandalone target not found
Refreshing native plugins compatible for Editor in 4.58 ms, found 11 plugins.
ScheduleIndexationOnStartup MainProcess:True IndexOnStartup:True
Mono: successfully reloaded assembly
Application.AssetDatabase Initial Refresh End
Launched and connected shader compiler UnityShaderCompiler.exe after 0.01 seconds
Scanning for USB devices : 3.194ms
Initializing Unity extensions:
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
[MODES] Loading mode Default (0) for mode-current-id-Zedcam_unity
Unloading 26 Unused Serialized files (Serialized files now loaded: 0)
Loaded scene ‘Assets/testScene.unity’
Deserialize: 1.314 ms
Integration: 158.844 ms
Integration of assets: 0.001 ms
Thread Wait Time: 0.046 ms
Total Operation Time: 160.205 ms
Unloading 7134 unused Assets / (6.7 MB). Loaded Objects now: 8095.
Memory consumption went from 240.6 MB to 233.9 MB.
Total: 11.316700 ms (FindLiveObjects: 0.656100 ms CreateObjectMapping: 0.694100 ms MarkObjects: 6.159200 ms DeleteObjects: 3.805400 ms)
[LAYOUT] About to load UserSettings\Layouts\default-6000.dwlt, keepMainWindow=False
[LAYOUT] About to save layout E:\WORKS\TT\RnD\ZEDcam_Integration\Zedcam_unity\UserSettings\Layouts\default-6000.dwlt
[LAYOUT] About to save layout C:/Users/Remi/AppData/Roaming/Unity/Editor-5.x/Preferences\Layouts\current\default-6000.dwlt
[MODES] ModeService[default].InitializeCurrentMode
[MODES] ModeService[default].RaiseModeChanged(default, default)
Initializing input.
Using Windows.Gaming.Input
[Project] Loading completed in 11.519 seconds
Project init time: 9.879 seconds
Template init time: 0.000 seconds
Package Manager init time: 1.483 seconds
Asset Database init time: 0.114 seconds
Global illumination init time: 0.002 seconds
Assemblies load time: 0.800 seconds
Unity extensions init time: 0.034 seconds
Asset Database refresh time: 6.559 seconds
Scene opening time: 1.544 seconds
##utp:{“type”:“ProjectInfo”,“version”:2,“phase”:“Immediate”,“time”:1778077052079,“processId”:17396,“projectLoad”:11.5186137,“projectInit”:9.8788099,“templateInit”:0.0,“packageManagerInit”:1.4830737,“assetDatabaseInit”:0.1136202,“globalIlluminationInit”:0.0019959,“assembliesLoad”:0.8004694,“unityExtensionsInit”:0.0341238,“assetDatabaseRefresh”:6.559272,“sceneOpening”:1.5443156}
##utp:{“type”:“EditorInfo”,“version”:2,“phase”:“Immediate”,“time”:1778077052079,“processId”:17396,“editorVersion”:“6000.4.3f1 (39d1a88d4dd1)”,“branch”:“6000.4/staging”,“buildType”:“Release”,“platform”:“Windows”}
Asset Pipeline Refresh (id=b88bea86dbf72d04095f3cfde326480d): Total: 0.040 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Start importing Assets/XR/Settings/OpenXR Package Settings.asset using Guid(3f87000c5c696bb45b60e79b106d4147) (NativeFormatImporter) → (Import Result ID: ‘b82abd38ac64e284bf79ae26c3a65c50’) in 0.0058054 seconds [static dependencies only]. Details - ImportResultOutputID=83ae4edb2d270828c09cd696a5e6bb7e DependenciesID=46c871f0547c56249f5a0e1dd3e6c95a StaticDependenciesID=3ffe07852dc1af21a5907c069732ab2b
Refreshing native plugins compatible for Editor in 4.58 ms, found 11 plugins.
Shut down.