In developing plugins I like to see the plugin behaviour by running the game in the editor. When I make changes to the plugin code and try to copy the new bundle into Unity’s project (in the Plugins folder), the copy won’t happen and Finder reports that the original file is in use, presumably by the Unity editor. I am having to restart Unity to enable the copy.
If I delete the plugin in Unity, I can copy the new bundle without restarting, but Unity seems to continue using the older plugin, as though it has a cached copy somewhere. Restarting Unity in this case causes the editor game to use the newer plugin.
Is the plugin somehow left open when the game is run in the editor? Is there a way to replace plugin files without restarting Unity?
Thanks for any advice.