A quick note for Unity Answers…
The following is a post I made on an Ouya developer forum. Per advice I made an upgrade to the Ouya SDK to take care of an issue, and it brought up another issue. I typically have been dealing in JS, whereas the problem referenced here deals in all C# files, so this might be an easy fix for someone who’s more familiar with C than I am. After doing a lot of searching on the web I realized there wasn’t a ton of info regarding this error pertaining to my specific case, and so in addition to asking for help in the Ouya forums, also chose to seek the Unity family’s wisdom. Thanks for your help, patience, and understanding. God bless.
Original post:
Hello everyone,
Because of the progress that had been made on the project I’m working on I was hesitant to upgrade the ODK (Ouya SDK) since upgrading tends to bring with it tons of new frustrations. Yesterday I finally upgraded and immediately regretted it. After fixing various java errors that left my head spinning, I’ve got 60 compiler errors (of the same type) that I’ve not been able to figure out. To summarize them, they say:
“Assets/Plugins/IOuyaController.cs(31,13):
error CS0426: The nested type
KeyEnum' does not exist in the type
OuyaSDK’”
That goes for the Ouyacontroller.cs file, Xbox360 controller, you name it. I looked in the OuyaSDK.cs file and sure enough, there’s no mention of KeyEnum anywhere. I admit though, that after 15 hours of bug fixing maybe my brain is just too fried to see it.
As an experiment, yep, I did at one point delete all the files throwing errors, and that did remove the warnings, but unsurprisingly that gave me zero controller use.
Incredibly frustrated, since this project is so close to release. Had one thing to implement that the new ODK was required for. (at least I hope. Will be incredibly upset if that thing isn’t fixed by the upgrade, but we’ll see)
On the old ODK, my Unity controller inputs just worked. I would love to go back to that simplicity. At the very least, I’d like to get rid of the errors. Sorry if this has something that’s been covered, I’ve been searching since yesterday and haven’t found a direct answer anywhere, though it seems like I come close at times. Thanks, and God bless.