Forum Discussion

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

7 seconds of blackness before my scene appears

When I run my "DirectToRift" exes, it takes about 5 seconds to get the Health & Safety Warning to appear, another 5-7 seconds with the gray background Unity logo, and then 7-8 seconds of blackness before my scene fades in from black. Is there any way to reduce these times?

None of the unity demos that I run have these kind of load times and my scene is much simpler.

Thank you kindly for your assistance.

My important specs:
Core i5 2500K, GTX 970. 16GB RAM

10 Replies

Replies have been turned off for this discussion
  • Also, you can try removing OVRScreenFade.cs from your cameras and disabling the health and safety warning (see the documentation).
  • "cybereality" wrote:
    What version of Unity are you using and on what OS?


    Unity 4.6.2f1. Windows 8.1.
  • "cybereality" wrote:
    Also, you can try removing OVRScreenFade.cs from your cameras and disabling the health and safety warning (see the documentation).


    Thank you for the reply Cybereality.

    OVRScreenFade is set to 0 for Fade Time.
    OVRMainMenu is set to 0 for fade in time (although I don't have a menu).

    Same result.

    I am unable to remove the Health and Safety Warning. My registry does not have the required key (64-bit OS):

    HKEY LOCAL MACHINE\Software\Wow6432Node\Oculus VR, LLC\LibOVR\HSWToggleEnabled

    For reference, the 32-bit location is not there either.
  • I was saying actually deleting the component script from the inspector. I'm not sure setting it to zero is enough.

    I'm also concerned if you don't have those registry keys. Can you try reinstalling the latest runtime as administrator?
  • "cybereality" wrote:
    I was saying actually deleting the component script from the inspector. I'm not sure setting it to zero is enough.

    I'm also concerned if you don't have those registry keys. Can you try reinstalling the latest runtime as administrator?


    I'll give that a try and report back. Thanks!
  • "cybereality" wrote:
    I was saying actually deleting the component script from the inspector. I'm not sure setting it to zero is enough.

    I'm also concerned if you don't have those registry keys. Can you try reinstalling the latest runtime as administrator?


    I reinstalled the latest runtime as administrator and my registry looks the same:



    The folder is there, but no key for HSWToggleEnabled.

    I removed the component script from the inspector, rebuilt, and still have a 7-8 second black screen from the time the gray background Unity logo disappears and my scene appearing.
  • "cybereality" wrote:
    You may have to create the key if it's not there.


    Key created. I was able to go into Advanced Oculus config and remove the HSW. My application loads much more quickly. Still 3-4 seconds of black, but much more manageable.
  • This was happening to me, turning the fade time down on OVRscreenfade fixed the issue.