-
Notifications
You must be signed in to change notification settings - Fork 17
Null runtime error #2
Comments
Hi Sorry for lately reply. Could you provide screen shot of hierachy in Unity ? |
with Intel RealSense D435 FW 5.11.4 |
From the issue #2 , in my opinion the creation process of session is not complete so this can explain why `NullReferenceException` is occured. What I have done to fix this is to make sure the session initilization step is completed, before create `SenseManager` By the way, I don't have any Intel Realsense device with me so if you have Intel Realsense device, I need your support to pull this branch and try is it work? Because I have never seen this error before too, so I can't reproduce it by myself. Thank for your further support 😄
Hi @robertofazio or @jBachalo , could you pull the branch called ps. I had fixed in #6 , but I am not sure is it work? |
Hello. I get the same bug listed here when I try the master branch. Im using Unity 2019.8 and have the D415. what do you mean by "try that version of the SDK" for using the other branch? When I try the alternate branch I get the error "Assets\IRToolkit\Scripts\DepthCameraManger.cs(31,24): error CS0103: The name 'sesssion' does not exist in the current context" |
Ah that's my mistake. I fixed it, could you try it again from the same branch? |
Hi, Exception: Session Initialize Failure! |
well, the first bug I get is this one:
That was there yesterday too but I had fixed it and forgot to mention. Then when I fix that I get:
The app is running but the camera never turns on. Unity 2019.1.8 |
I think it might be some problem with camera connectivity or driver. Could you try run you camera with Intel Software or another application, does it work or not? |
I have a RealSense D435 Unity 2019.1 Windows 10 |
I am able to successfully run the Keijiro Unity + Realsense project here: I did notice that when I pull your branch it says it was last opened on an older version of Unity. Can you confirm it works with the current version? |
Oh I checked that. I'm sorry to say that this toolkit is work with REALSENSE SDK 1.x only, however D4xx is not compatible with SDK 1.0 that why SDK can't detect the camera. Please try SDK2.0 https://software.intel.com/en-us/realsense/sdk . However I don't have D4xx camera series so I can't make this toolkit support SDK2.0 😭 |
I was also able to download and run this project: https://github.com/IntelRealSense/librealsense/tree/master/wrappers/unity |
@ReiiYuki would it be helpful if I posted test .bag data from a D415? |
Hi
Getting the following null error when I try and play
NullReferenceException: Object reference not set to an instance of an object
DepthCameraManger.InititalizeSenseManager () (at Assets/IRToolkit/Scripts/DepthCameraManger.cs:28)
DepthCameraManger.Awake () (at Assets/IRToolkit/Scripts/DepthCameraManger.cs:22)
The text was updated successfully, but these errors were encountered: