Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
8 years ago

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):



4 Replies

Replies have been turned off for this discussion
  • Anonymous's avatar
    Anonymous
    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.
  • Take a look at this plugin on the asset store. does exactly what u need : https://www.assetstore.unity3d.com/en/#!/content/92249
  • Anonymous's avatar
    Anonymous
    It's been a while since I had a look at this issue, any update from Unity yet?
  • Anonymous's avatar
    Anonymous
    I can confirm that this issue is resolved in Unity 2017.2.0f3