heavy icon indicating copy to clipboard operation
heavy copied to clipboard

Unity plugin on Android

Open theodupre opened this issue 8 years ago • 7 comments

I added a heavy plugin to my project in unity. The Macosx plugin works in the editor and when I run the project. But when I try to test it on my android device (armeabi 7va and Android 5.0) the application builds and starts correctly but the sound from the heavy plugin is gone. Anybody has an idea where the problem comes from ?

theodupre avatar Jun 28 '17 15:06 theodupre

I had some initial issues running on an s6 but can't remember the exact details. I think the location of the android plugin has to be in a specific directory location

Sent from my iPhone

On 28 Jun 2017, at 16:47, theodupre [email protected] wrote:

I added a heavy plugin to my project in unity. The Macosx plugin works in the editor and when I run the project. But when I try to test it on my android device (armeabi 7va and Android 5.0) the application builds and starts correctly but the sound from the heavy plugin is gone. Anybody has an idea where the problem comes from ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

dbaxaudio avatar Jun 28 '17 18:06 dbaxaudio

They say to put it in Plugins/Android/architecture see this page but nothing changes. And there is an working example here where it's not mandatory to use this path. I think if you put the plugin in the right location it will automatically set up the right platform and architecture but you can also set it up manually in the inspector. Anyway it doesn't fix my problem but thank you for the answer @dbaxaudio

theodupre avatar Jun 29 '17 09:06 theodupre

@theodupre can you create a debug version of your application and see if any errors are produced when running it?

diplojocus avatar Jun 29 '17 09:06 diplojocus

I think I can but I have some trouble finding how doing it.

theodupre avatar Jun 29 '17 09:06 theodupre

Have you tried something like this? http://answers.unity3d.com/questions/175161/debugging-android.html

diplojocus avatar Jun 29 '17 09:06 diplojocus

@theodupre If you're on Mac I'd also highly recommend LogRabbit for debugging. It's paid for the full version but the free version is totally usable, also.

ylevtov avatar Jun 29 '17 10:06 ylevtov

Thanks @diplojocus and @ylevtov. The app didn't find the plugin. I don't really know what was going on but I started over with a new plugin and it finally worked. I might have done something wrong at some point but I can't figure out what. Anyway the log console can be very helpful, thanks.

theodupre avatar Jun 30 '17 12:06 theodupre