Forum Discussion

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

No head-positional tracking in unity build

Hi,

I'm starting to learn unity since I think I have some nice ideas to create for VR.

How do you guys manage to get your scene tested in the rift? It says HMD Sensor not detected.

And how to get it even working when you have build your scene. When I press build unity creates a direct_to_rift.exe which I can click on and I the environment shows inside the rift. At this time the head and positional tracking doesn't work at all. I use the same method for this build as for all demo's I tried.

Thanks!

9 Replies

Replies have been turned off for this discussion
  • Goffa's avatar
    Goffa
    Honored Guest
    I have the same problem, the OVRDevice script doesn't seem to find the input from my rift.
    I think I've installed the Rift correct since other apps work with it, I have installed the tuscany demo in Unity and can see everything as I should in the rift, but it still says "No HMD Detected". In other forum threads the solution seems to be to put the "OculusPlugin.dll" in my Unity/Editor folder, so I did, but the result is the same.
    Is there any way of troubleshooting this?
  • Gerald's avatar
    Gerald
    Expert Protege
    - Firmware updated?
    - have you installed the current asset?
    - what does the test scene (tuscany) say?
  • uvflyer's avatar
    uvflyer
    Honored Guest
    I have installed the runtime+sdk, everything needed to get most demos working. Tuscany from this site runs perfect. Do I have to install something besides the programs I already installed?

    What do you mean with “have you installed the current asset”?
  • Goffa's avatar
    Goffa
    Honored Guest
    Yes! The latest firmware fixed it!
    I should have tried it earlier - all guides mentions it, but I honestly thought I had the latest :roll:
    Thanks a million Gerald for pointing it out! :D
  • kersk's avatar
    kersk
    Meta Employee
    Glad to hear that worked for you, Goffa.

    uvflyer, can you verify you are running with the latest firmware?

    If that doesn't work, can you try temporarily creating a new unity project, importing "OculusUnityIntegrationTuscanyDemo.unitypackage" found in the Unity Integration download, and building/running the Tuscany scene from there?
  • Gerald's avatar
    Gerald
    Expert Protege
    "Goffa" wrote:
    Yes! The latest firmware fixed it!
    I should have tried it earlier - all guides mentions it, but I honestly thought I had the latest :roll:
    Thanks a million Gerald for pointing it out! :D


    no prob - the new firmware managed to slip by my attention too ;)
  • uvflyer's avatar
    uvflyer
    Honored Guest
    By the newest firmware you mean the one that comes with the 0.4.2 sdk/runtime? I'm now running 2.10 firmware that came with the 0.4.1.

    Do I need 0.4.2?
  • kersk's avatar
    kersk
    Meta Employee
    Yep, I recommend you try grabbing 0.4.2 and flashing your firmware to 2.12 to see if it resolves the issue.
  • uvflyer's avatar
    uvflyer
    Honored Guest
    Turns out I downloaded the wrong unity implementation. I downloaded the sdk a few weeks earlier and now at the downloadpage the unity implementation was for sdk 0.4.3, I had .2 installed.

    Sorry for this unnecessary thread and thanks for helping!