Skip to main content
Up and Coming
July 25, 2014

0.4.0 SDK Not Rendering?

I just dropped in the new SDK and it does not seem to be rendering. Completely black screen on both desktop and Rift.

Any ideas?

Thanks


John
    This topic has been closed for replies.

    25 replies

    digitalAuthor
    Up and Coming
    July 25, 2014
    Even the sample scene `cubes` in the SDK does not render. The `Oculus World Demo` works fine (non unity).

    I'm running an R290X GPU. Can I provide more info?
    Up and Coming
    July 25, 2014
    I'm getting the same.... SDK went into Unity and a new scene or the sample does nothing.

    Importing it into another project works - the warning about using it for periods of time comes up, but won't go away and there is an error:

    NullReferenceException: Object reference not set to an instance of an object
    OVRMainMenu.Update () (at Assets/OVR/Scripts/OVRMainMenu.cs:361)
    Fire Panda LTD
    New Participant
    July 25, 2014
    Hey dude, i was having the same problem.

    I fixed it by:

    Edit>Project Settings>Player> Then disable DX11, also i used to have to game view's set up one on my 2nd screen(rift) and one on the main screen, now unity will only render to 1 game screen (extended desktop for DK1)


    "NullReferenceException: Object reference not set to an instance of an object
    OVRMainMenu.Update () (at Assets/OVR/Scripts/OVRMainMenu.cs:361)"

    also i got rid of this error by completely removing the old rift OVR folder and importing the new unity prefab
    Up and Coming
    July 25, 2014
    ok, replacing the OVR did nothing to help. I even removed my OVR in the scene and added a new one.

    So, I may have to figure out why my scene is playing up. HOWEVER - it was fine getting rid of DX11 for the Tuscany scene, so at least it looks like there's a way forward.

    Perhaps there's something in my current scene fuggling it up.

    EDIT: OK, so a new project from scratch, importing over just the player, quality and input settings, plus the assets folder = fixed! In Unity at least. DX11 is turned off of course. Now to export and see if it works in the real world.
    Fire Panda LTD
    Up and Coming
    July 25, 2014
    I was able to get at least output from Unit View, but the rift stays black in direct display mode. DemoScene in OVRUtil works fine :(
    Same problem in tuscanny on a completly new project. no DX11, forward light and gamma color space.

    A builded Tuscanny Demo works (not on the rift, but on normal monitor), but the _DirectToRift.exe throws an exception. VS Debugging gives this message:
    "Ausnahmefehler bei 0x77C0FD12 (ntdll.dll) in tuscany.exe: 0xC0000005: Zugriffsverletzung beim Schreiben an Position 0x0000009C"

    Normal "Extend Desktop" works fine, however.

    Radeon 5770 on Catalyst 14.4 btw

    Edit: Just saw this in Doc's:
    4.4.3 Editor Workflow
    If you plan to run your application in the Unity editor, you must use extended mode. A black
    screen will appear if you run it in direct mode.


    Sadly it seems not possible to get editor Output on Direct Display Mode :(
    ______________________ mySite www.darkfield-vr.com
    Up and Coming
    July 25, 2014
    Did anyone try installing the new Oculus Rift Runtime Driver Package thing that's available? I haven't had a chance to check out 0.4.0 myself. I wonder if the driver support is only for the DK2 and not the DK1. Are you guys using DK1's?
    digitalAuthor
    Up and Coming
    July 25, 2014
    I'm using a DK1 at the moment. I did get it to function by turning off DX11 and playing on a second monitor.

    Its a super sharp image compared to 0.3.2 Preview but I am now getting bad shadow issues.

    E.g. with any sort of shadows, they don't appear correctly on the objects in the scene, e.g. terrain. The shadows move with the camera.
    digitalAuthor
    Up and Coming
    July 25, 2014
    "molton" wrote:
    Did anyone try installing the new Oculus Rift Runtime Driver Package thing that's available? I haven't had a chance to check out 0.4.0 myself. I wonder if the driver support is only for the DK2 and not the DK1. Are you guys using DK1's?


    I did... but am forced to put it into `Extend Desktop` mode.
    digitalAuthor
    Up and Coming
    July 25, 2014
    Shadows... It looks like an issue with Deferred Rendering. With Deferred Render turned off the shadow glitch disappears... but naturally the shadows are not sharp and generally my game needs deferred rendering.

    Thoughts?
    Up and Coming
    July 26, 2014
    Here's the errors I'm getting. The Screen in the editor acts as if there is no cameras rendering anything, but when I make a build of the game it renders just fine.
    Oculus Rift games & test scenes