googlearchive / tango-examples-unity

Project Tango [deprecated] UnitySDK Example Projects
https://developers.google.com/ar
Apache License 2.0
470 stars 242 forks source link

Error: Incorrect Configuration while using Tango Explorer or any Tango enabled app (dalvik v/s ART) #78

Closed imflash217 closed 7 years ago

imflash217 commented 7 years ago

I'm suddenly getting this error while running any Tango enabled app (Google's Tango Explorer app etc..or my own build): Error: Incorrect Configuration. Please go to Settings-->Developer options and use ART

By default the device came with dalvik & was running fine. I've read some posts pointing the issues with using ART.

Still I switched to 'ART' and after rebooting the tablet, all the apps that were installed before changing to ART works fine(tango capabilities) but if I install a new tango-enabled app its not able to access tango core and throws an error.

What should I do?

small-potatoes commented 7 years ago

Hi, can you provide information about the device and android version you are experiencing this issue?

imflash217 commented 7 years ago

I am using Google Project Tango Development Kit Tablet running Kitkat.

chaosemer commented 7 years ago

Thanks for the info.

You should be aware that ART on Android 4.4 has a bug that causes all Unity apps to crash within 5 - 10 minutes. For that reason we suggest using Dalvik when developing Unity apps, despite the warning you see. Please confirm if everything works again once you switch back.