Skip to main content
May 24, 2017

Unity Native Rendering Plugin with Oculus VR support?

Hi smart people!

I'm
working on a plugin for Unity that enables VR users to view point
clouds generated from Intel realsense sensors in real-time.

I have been using the native rendering plugin example provided by Unity as my starting point: https://bitbucket.org/Unity-Technologies/graphicsdemos/downloads/

As it can be seen in the plugin example the vertex and texture buffers of primitives in unity are altered in a native plugin. I'm using this to generate the point cloud. However when I enable VR support to view my point cloud I get a Unity crash.

It is easy to reproduce in Windows 10. If you download the example
project and enable Player Settings->Virtual Reality Supported and then press
play, Unity (v 5.6.0f3) crashes. How do I get VR support in Native Rendering
Plugins? Am I doing something obviously wrong? Any input that could bring me closer to a solution would be appreciated.

Similar Threads I've found (but without a solution):



    This topic has been closed for replies.

    4 replies

    June 2, 2017
    Thank you for the feedback imperativity. Based on your feedback I switched to openVR instead of the oculus SDK and got it working this is good enough for my needs, but it would have been nice to use the SDK.
    Participant
    July 27, 2017
    Take a look at this plugin on the asset store. does exactly what u need : https://www.assetstore.unity3d.com/en/#!/content/92249
    November 24, 2017
    It's been a while since I had a look at this issue, any update from Unity yet?
    November 27, 2017
    I can confirm that this issue is resolved in Unity 2017.2.0f3