Forum Discussion

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

Unity 4.6 RC1, Direct to rift with DX10

Hi :) I'm using Unity 4.6RC1 + DK2 + ovr_unity_0.4.3_lib and found strange thing. At tuscany demo, after building with checked "Use Direct 3D 11" (Player Settings -> Other Settings) all works fine in "Direct to Rift" mode. But if it's unchecked after building in "Direct to Rift" mode i have only black screen (at monitor and at DK2 screen). Does it mean that i must to use DX11 for Direct to Rift or it's local problem on my PC?
Thank you :)

5 Replies

Replies have been turned off for this discussion
  • zulman's avatar
    zulman
    Honored Guest
    So many threads at the different forums/sites about black screen problem in Unity with DX10. Any comments from developers will be very usefull and this topic make situation more clear for future developers :)
  • zulman's avatar
    zulman
    Honored Guest
    OVRDisplay.cs
    public void Update()
    {
    // HACK - needed to force DX11 into low persistence mode, remove after Unity patch release
    if (frameCount < 2)
    {
    uint caps = OVRManager.capiHmd.GetEnabledCaps();
    caps ^= (uint)HmdCaps.LowPersistence;
    OVRManager.capiHmd.SetEnabledCaps(caps);
    }

    UpdateViewport();
    UpdateTextures();
    }


    Maybe someone know something about this Unity patch?
  • Hey Zulman -

    I'm the Test Engineer for Oculus Integration at Unity. Today is a holiday in the US and my device is at the office, but I'll give these issues a look tomorrow. In the meantime, please throw these issues in a bug report (Help > Submit a Bug Report in the Editor).

    Thanks,
    Adam D