<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unity Plugin (RealSense Original Project) | NullReferenceException in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001878#M30455</link>
    <description>&lt;P&gt;Hello Devs,&lt;/P&gt;

&lt;P&gt;I'm trying to run RealSense's Unity project (Original) but when I do, the "game" ends up with NullReferenceException:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.OnGUI () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/GUI/DockArea.cs:601)
PXCMSenseManager:PXCMSenseManager_Init(IntPtr, IntPtr)
PXCMSenseManager:Init(Handler)
PXCMSenseManager:Init()
HandsViewer:Start() (at Assets/Scripts/HandsViewer.cs:57)&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I repeat, it's RealSense's original Unity project contained in "C:\Program Files (x86)\Intel\RSSDK\framework".&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I did not interfere with any of its scripts!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Any thoughts what would the problem might be?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;My rig btw is:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;i7 5820K | 16GB Ram DDR4 | GTX970 | Win 8.1 x64 | Unity 4.6.1p3&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;RS Camera is there, RS SDK is installed (full installation, latest version) and everything seems ok!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks in advance :)&lt;/P&gt;</description>
    <pubDate>Sat, 07 Feb 2015 13:51:19 GMT</pubDate>
    <dc:creator>Michael_M_7</dc:creator>
    <dc:date>2015-02-07T13:51:19Z</dc:date>
    <item>
      <title>Unity Plugin (RealSense Original Project) | NullReferenceException</title>
      <link>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001878#M30455</link>
      <description>&lt;P&gt;Hello Devs,&lt;/P&gt;

&lt;P&gt;I'm trying to run RealSense's Unity project (Original) but when I do, the "game" ends up with NullReferenceException:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;NullReferenceException: Object reference not set to an instance of an object
UnityEditor.DockArea.OnGUI () (at C:/BuildAgent/work/d63dfc6385190b60/Editor/Mono/GUI/DockArea.cs:601)
PXCMSenseManager:PXCMSenseManager_Init(IntPtr, IntPtr)
PXCMSenseManager:Init(Handler)
PXCMSenseManager:Init()
HandsViewer:Start() (at Assets/Scripts/HandsViewer.cs:57)&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I repeat, it's RealSense's original Unity project contained in "C:\Program Files (x86)\Intel\RSSDK\framework".&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;I did not interfere with any of its scripts!&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Any thoughts what would the problem might be?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;My rig btw is:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;i7 5820K | 16GB Ram DDR4 | GTX970 | Win 8.1 x64 | Unity 4.6.1p3&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;RS Camera is there, RS SDK is installed (full installation, latest version) and everything seems ok!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks in advance :)&lt;/P&gt;</description>
      <pubDate>Sat, 07 Feb 2015 13:51:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001878#M30455</guid>
      <dc:creator>Michael_M_7</dc:creator>
      <dc:date>2015-02-07T13:51:19Z</dc:date>
    </item>
    <item>
      <title>I had this error myself.  If</title>
      <link>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001879#M30456</link>
      <description>&lt;P&gt;I had this error myself. &amp;nbsp;If I remember right,people who run the sample programs from the C:/Program Files folder were having problems with them because the samples want to write data to the hard disk but the C:/Program Files folder is protected and doesn't allow programs to write to them (it's a security measure). &amp;nbsp;Therefore, the sample programs fail.&lt;/P&gt;

&lt;P&gt;Intel recommend running all the sample programs from the Sample Browser application supplied with the SDK. When you install the SDK, it creates a separate folder from the RSSDK folder that has the browser in it. &amp;nbsp;I believe it should be in the list of folders in yur Windows start menu, under the name 'Intel RealSense SDK 2014'.&lt;/P&gt;

&lt;P&gt;An alternative way to beat the errors is to install the SDK to C: instead of C:/Program Files. &amp;nbsp;So the location will be C:/Intel/RSSDK. &amp;nbsp;When you do this, the read-write errors caused by the Program Files folder no longer occur.&lt;/P&gt;

&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Feb 2015 16:13:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001879#M30456</guid>
      <dc:creator>MartyG</dc:creator>
      <dc:date>2015-02-07T16:13:15Z</dc:date>
    </item>
    <item>
      <title>Hi Marty,</title>
      <link>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001880#M30457</link>
      <description>&lt;P&gt;Hi Marty,&lt;/P&gt;

&lt;P&gt;I did what you said and opened/run the project from the SDK Sample Browser. The problem is still there tho. I click "play" and there it is. NullReferenceException all over the place. I'll do the alternative you suggested, I'll install it to C: directly. I'll come back to you whether it works or not.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Feb 2015 16:30:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001880#M30457</guid>
      <dc:creator>Michael_M_7</dc:creator>
      <dc:date>2015-02-07T16:30:23Z</dc:date>
    </item>
    <item>
      <title>Okay Marty, it worked...</title>
      <link>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001881#M30458</link>
      <description>&lt;P&gt;Okay Marty, it worked... Installing the SDK to C: fixed the problem! Thank you very much, you saved me big time! :)&lt;/P&gt;</description>
      <pubDate>Sun, 08 Feb 2015 02:55:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Unity-Plugin-RealSense-Original-Project-NullReferenceException/m-p/1001881#M30458</guid>
      <dc:creator>Michael_M_7</dc:creator>
      <dc:date>2015-02-08T02:55:53Z</dc:date>
    </item>
  </channel>
</rss>

