Hello. I’m trying to port a project to Windows Phone 8, and it uses a Plugin. It works fine on pc (using a DLL) but I understand that WP8 does not support DLLs, so I’ve followed the steps in the Unity Manual to work around this.
I’ve created a new Visual Studio project, selected “DLL (Windows Phone 8)” from the project options, built the DLL and placed it into the Assets/Plugins/WP8 folder. However, it’s not working. I’d appreciate any suggestions or thoughts on anything I’ve missed.
Edit: The game builds and runs on the phone, and everything in the scene not dependent on the plugin works fine. The plugin itself is giving the following error:
“Dllimport can not be used on user defined methods.”