Code Monkey home page Code Monkey logo

Comments (4)

Watchdodos avatar Watchdodos commented on September 4, 2024

We we're able to get NewtonVR working with Leap Orion, what were the errors you were running into?

from newtonvr.

robnewton avatar robnewton commented on September 4, 2024

I was copying only the /NewtonVR folder from your Assets directory to mine and getting the following error:

Assets/NewtonVR/NVRHand.cs(10,17): error CS0246: The type or namespace name `Valve' could not be found. Are you missing a using directive or an assembly reference?

Once I copied over the OpenVR plugin assets as well as the SteamVR assets, the compile errors went away.

Runtime is not working however. Started with the example scene. The NVR Camera was causing Unity to crash as soon as I hit play. (DK2 with OVR 8 installed in Windows 8.1 on Unity 5.3.2p3). So I disabled it and dropped in the Orion LHHeadMountedRig. Hitting play gives the following error many times then the scene pauses:

NullReferenceException: Object reference not set to an instance of an object
at NewtonVR.NVRInteractables.Register (NewtonVR.NVRInteractable interactable, UnityEngine.Collider[] colliders) [0x00000] in Assets\NewtonVR\NVRInteractables.cs:25
at NewtonVR.NVRInteractable.Start () [0x00000] in Assets\NewtonVR\NVRInteractable.cs:46

(Filename: Assets/NewtonVR/NVRInteractables.cs Line: 25)

from newtonvr.

robnewton avatar robnewton commented on September 4, 2024

Figured it out. NVRInteractables was not getting initialized. Added the following to the top of Register(), Deregister(), and GetInteractable() in NVRInteractables.cs.

if (!Initialized) Initialize();

from newtonvr.

Watchdodos avatar Watchdodos commented on September 4, 2024

Ah, nice!

from newtonvr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.