Forum Discussion

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

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?

3 Replies

Replies have been turned off for this discussion
  • 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.
  • "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.
  • 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 :)