enzienaudio / heavy

heavy public issue tracker and static dsp code releases
https://enzienaudio.com
ISC License
71 stars 4 forks source link

Unity plugin on Android #221

Open theodupre opened 7 years ago

theodupre commented 7 years ago

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 ?

dbaxaudio commented 7 years ago

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 notifications@github.com 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.

theodupre commented 7 years ago

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

diplojocus commented 7 years ago

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

theodupre commented 7 years ago

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

diplojocus commented 7 years ago

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

ylevtov commented 7 years ago

@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.

theodupre commented 7 years ago

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.