Skip to main content
Up and Coming
May 16, 2015

With 0.6.0 can and should we delete the direct to rift

I've noticed that the 0.6.0 sdk says there is no need to run the direct to rift exe and you can just run the orginal exe. The build still creates the direct to rift file. Can we delete this file now because i'ts no longer needed?
    This topic has been closed for replies.

    8 replies

    Participant
    May 17, 2015
    Just tested this quickly with empty scene and oculus camera (Unity 5.0.1f1). Not other settings. Built it and normal exe just runs the app in my monitor. DirectToRift runs it in Rift. So perhaps it is still needed.
    Up and Coming
    May 17, 2015
    Yea I noticed that to. Its strange that the new features say "Eliminated the need for the DirectToRift.exe in Unity 4.6.3p2 and later." but it works the same as before.
    Oculus Rift games & test scenes
    philedayAuthor
    Up and Coming
    May 17, 2015
    I noticed that if I ran the main file it did go direct to the rift. However if other people are finding this not to be the case I'll continue to include the direct to rift exe.

    I guess with the Rift not being released until the first quarter of 2016 there is plenty of time to fix these issues :)
    korinVR
    Honored Contributor
    May 18, 2015
    I noticed Unity 4.6.5f1 does not create the *_DirectToRift.exe, but Unity 5.0.2f1 creates it.
    There might be a problem on version detection.
    Katsuomi Kobayashi ( @korinVR ) at FrameSynthesis Inc.
    korinVR
    Honored Contributor
    May 18, 2015
    Probably this is it. :)

    OVRUnityVersion.cs called from OVRShimLoader.cs

    public static bool hasPreInitSupport
    {
    get
    {
    return (version.major == 4 && version >= "4.6.3p2");
    }
    }
    Katsuomi Kobayashi ( @korinVR ) at FrameSynthesis Inc.
    Up and Coming
    June 2, 2015
    How are you starting your game on the Rift without DirectToRift?
    Up and Coming
    August 13, 2015
    Im not sure how to run a game anymore. I just downloaded Unity 5 and it won't create a Direct to Rift file. The regular exe does not open in the Rift.
    KevinGulling.com
    Inspiring
    August 14, 2015
    @kevingulling: The latest versions of Unity 5 (starting at 5.1.1) have included VR support with the engine. There is no "DirectToRift" anymore. You just select "Virtual Reality Supported" in the player settings and use the normal exe file. You also can't use the Unity integration anymore (this is for Unity 4) but can use the Oculus Utilities.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV