Skip to main content
Up and Coming
November 7, 2014

OnGUI Fix Please

We have made an Oculus version of our Motorbike game, and it plays awesome : )

The user interface is made with OnGUI controls which cannot be rendered separately within Unity.

I assume the solution has to be worked out with Unity. It is necessary that the OnGUI controls get rendered into a RenderTexture not the screen directly.

If anyone has a solution, please share it. There seems to be many other developers with the same problem.

Regards
Andres
    This topic has been closed for replies.

    14 replies

    Up and Coming
    November 14, 2014
    Up and Coming
    November 15, 2014
    "GoesTo11" wrote:
    http://unity3d.com/unity/beta/4.6/release-notes



    Ok great :) what does this mean that Oculus rift works with 4.6? I am not sure what to look at to say it's supported in the release notes
    Up and Coming
    November 15, 2014
    "khos85" wrote:
    "GoesTo11" wrote:
    http://unity3d.com/unity/beta/4.6/release-notes



    Ok great :) what does this mean that Oculus rift works with 4.6? I am not sure what to look at to say it's supported in the release notes


    Drash wrote in his post above that the rift works in Unity free 4.5.5 so look at the 4.6 releases and see which 4.6 beta has 4.5.5 equivalency (hint: beta 21, RC1 and RC2).
    New Participant
    November 18, 2014
    You can use the VRGUI library as a simple solution to use Unity <4.6's OnGUI.

    See viewtopic.php?f=37&t=4944