Items with no label
3335 Discussions

I would like to use SR300 with Unity

SKim61
Novice
993 Views

I am trying to use SR300 with Unity however I am not able to detect the device.

I followed link : https://software.intel.com/en-us/forums/realsense/topic/564571 [Solved] Fix error when open sample project realsense in Unity 5

Which has compiled plugin x64 version.

My error is

SenseManager Initialization Failed

UnityEngine.Debug:LogError(Object)

RawDataCapture:Start() (at Assets/Scripts/RawDataCapture.cs:35)

Code:

void Start () {

/* Initialize a PXCMSenseManager instance */

psm = PXCMSenseManager.CreateInstance();

if (psm == null){

Debug.LogError("SenseManager Initialization Failed");

return;

}

What should I do to get move on?

0 Kudos
1 Reply
MartyG
Honored Contributor III
153 Views

I compared the SenseManager code you used to a script by another user that used identical code and noted that in their script's header section above the Start() function, they had this setup line for the Sense Manager:

private PXCMSenseManager psm; //SenseManager Instance

Have you got this in your script?

Reply