I'm having trouble with the Unity / OUYA plugin.

I'm using Unity 4 with the latest update on a Windows 7 machine.

When I open the starter kit and try to compile the plugin I get the following error:

Picked up _JAVA_OPTIONS: -Xmx512M

And if I try to Build and Run I get this error:

Error building Player: ArgumentException: Illegal characters in path.

I'm stumped, I've gone through lots of forum posts here and on stackoverflow and I can't seem to resolve it.

My environment variables look like this:

PATH - C:\Users\dave\Documents\adt-bundle-windows-x86_64-20130219\sdk\tools;

JAVA_HOME - C:\Program Files (x86)\Java\jdk1.6.0_45\

Everything in the OUYA Panel is white

Any ideas?

  • 2
    \$\begingroup\$ Please don't cross post. Pick a site to keep and delete the other instance of the question please. \$\endgroup\$
    – House
    Aug 4 '13 at 15:48
  • 1
    \$\begingroup\$ done, didn't realise this site existed until after I'd posted the question on stack - no spam intended! \$\endgroup\$
    – Atkobeau
    Aug 4 '13 at 19:13

In the latest version of the Unity plugin, the Java/Native plugin comes pre-compiled. So there's no longer the need to build the Java or native portion of the plugin in the OUYA Panel. Just import the Core plugin and you'll be ready to File->Build and Run for the Android platform.

You can find the latest Core plugin here: https://github.com/ouya/ouya-sdk-examples/releases/tag/Unity-OuyaSDK-Core

Most recently the core plugin adds support for your Unity plugin on Forge TV.


Don't have an OUYA so just a wild guess, but it might be a memory problem. Try checking https://confluence.atlassian.com/display/CONF29/Fix+Out+of+Memory+errors+by+Increasing+Available+Memory and see if that helps. Perhaps you have to increase the assigned memory by adding some parameter value.

  • \$\begingroup\$ What made you conclude it's a memory issue? The error states there is something wrong with the paths. \$\endgroup\$
    – Sidar
    Nov 9 '13 at 2:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.