I have downloaded the ZED Unity Plugin , I am running Ubuntu 18.04 , ZED SDK 3.3 . I can successfully import the plugin , but i am unable to add camera object in my Hierarchy. I am getting " Unable to instantiate prefab, Prefab may be broken. I have ZED 2 Camera !!
I have browsed the Unity forum and have tried the following.
It might come from a missing script.
Did you try to play one of the example scene to see if it is working ?
If not, what version of Unity are you using ? (I’m personally using Unity 2019.4.10)
You can also try to reimport the prefab. For that, right click on the prefab, then click on Reimport.
Hello , i am using Unity 2019.4.18f1 on Ubuntu 18.04 , i have reinstalled the 3.3 SDK , but NOW Unity is saying ZED SDK is not installed, when i am trying to use Unity.
This error appears when you are not using the same plugin version than the SDK version.
In the mean time, we have released the SDK 3.4 (and the Unity plugin 3.4), so make sure you have installed the 3.3 (or 3.4) version for both of them.
Please check 3.4 Unity plugin in not like 3.3 , i cannot import it as a Unity Package , any clues what is wrong ? Its not a unity package extension , if i rename the file to .Unitypackage , even than cannot import !!
I have upgraded to ZED SDK 3.4 and running Unity 2019.4.18f1 Personal . My Zed SDK runs fine from and all other things are working .
Still Unable to use Unity , I have attached some errors,which i am getting !!
DllNotFoundException: sl_unitywrapper
NullReferenceException: Object reference not set to an instance of an object
ZEDRenderingPlane.OnRenderImage (UnityEngine.RenderTexture source,
UnityEngine.RenderTexture destination) (at
Assets/ZED/SDK/Helpers/Scripts/Display/ZEDRenderingPlane.cs:1327)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at
/home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)
X server took longer than 2005 milliseconds to respond to SetGtkWindowSizeAndPosition.
UnityEditor.TooltipView:Show(String, Rect, GUIView)
Set the last parameter to 2048 instead of 4096.
For some reason, Unity on ubuntu does not support memory higher than 4Gb. You can set any number below 4096 (4095 works for example).
I have 64Gb of Ram and 10gb+ of Vram , will i not be able to take advantage of this on Unity in Ubuntu 18.04 for Spatial memory , by restricting the size , will this affect performance of spatial mapping ?
We will check that. I think that’s only on Linux since I did not encounter this issue on windows.
Regarding spatial mapping, setting to a lower value does not impact the performance but you won’t be able to scan very large areas.
However 4095 should be enough.
Hi, My plane detection sample in Unity is showing, a dark black mapped surface instead of mesh in your website, do I need to add some component to Zed Plane Detection Manager?