Skip to main content
New Participant
October 1, 2014

GUI no longer displayed in standalone after DK2 upgrade

I've got an application written in unity 4.5 that uses the AVProQuicktime plugin for video playback. When I run the app unity I get the playback controls displayed similar to this:
http://www.renderheads.com/portfolio/UnityAVProQuickTime/images/mappingDemo.jpg

when I build a standalone version however, all I keep getting is the annoying health and safety warning but the gui doesn't come up (uses a simple GUILayout). Has anyone else run into this?
    This topic has been closed for replies.

    3 replies

    Inspiring
    October 1, 2014
    It sounds like it could be an issue of the DLL being in the wrong folder.

    Check the "Plugins" directory. There should not be any DLLs in there. You should move them into "x86_64" folder inside the "Plugins" folder.
    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
    New Participant
    October 1, 2014
    "cybereality" wrote:
    It sounds like it could be an issue of the DLL being in the wrong folder.

    Check the "Plugins" directory. There should not be any DLLs in there. You should move them into "x86_64" folder inside the "Plugins" folder.


    I gave it a try but that didn't fix it. The video plays back (using AVProQuicktime), so I know that plugin is loading. And the oculus responds to head motions so that plugin's also loading fine. It's just the GUI that's not displaying in the standalone build (but displaying fine in the editor). The standalone is built on mac os for mac os x86 (not x86_64) using Unity 4.5.4f and Unity DK2.
    Up and Coming
    October 2, 2014
    I think OnGUI has been broken in the new SDK since the DK2 release. Here is at least one thread on the issue, you can search for others.

    https://developer.oculusvr.com/forums/viewtopic.php?f=37&t=11719

    Check out VRGUI

    https://developer.oculusvr.com/forums/viewtopic.php?f=37&t=4944

    It does not work for everything, but some people have had success with it. I don't know if OnGUI will be fixed. I have not seen any indication that it will be so it is likely something not workable right now. Maybe with official Unity support in Unity 5 something will be worked out :)
    LOST LOOT (Pre-Alpha Update #1)