Skip to content

Conversation

@bvoq
Copy link

@bvoq bvoq commented Nov 28, 2023

Hello Unity Maintainers,
This project is quite old and based on Unity 2018, but it is the only (simple) reference from Unity for an example of plugins:
https://docs.unity3d.com/Manual/PluginsForDesktop.html

The macOS version had two main issues:
First, it still included the .dylib as a target, which is removed now.
this fixes: #8
Second, it had no copy build phase to move the ASimplePlugin.bundle to the correct location in the Unity Project and had to be done manually (undocumented).
I've added this step, similarly to how you handled it in the other example, see:

Further, Unity 2022 file structure is now Assets/<Platform>/Plugins as opposed to Assets/Plugins/<Platform>.

Someone would have to update the Windows example, but I doubt it's too much work.
Cheers 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Xcode project doesn't build correctly

1 participant