Closed maxcelar closed 2 years ago
Resolved with help on Discord.
The plugins are compiled to unity\android\libs\
instead of unity\build\android
as written in the documentation.
You will need to generate the cs script separately using the vs2015 compiler.
Also if you are naming your plugins using the -n
parameter you will need to rename the android plugins to Hv_{PATCH_NAME}_AudioLib
and AudioPlugin_Hv_{PATCH_NAME}
.
Make sure to choose the right CPU architecture in the Plugin Inspector.
Tested on Quest 2.
Thanks for sharing this great work. I'm trying to compile a plugin with the unity generator for Android arm64 architecture (to be used on Oculus Quest 2).
I get no errors but there are no errors as shown below:
The process with the last line is shown here and no builds appear in the unity/build/ dir.
Android.mk:
Application.mk:
Do you have any ideas about what could be going wrong? Thanks in advance
Also when using hvcc command before compiling the plugin, I get this error:
I'm not sure if that's a problem or how to resolve it? It still proceeds with generating and compiling for Windows x64 platform works.
Thanks!